fish: add TPM environment variable
This commit is contained in:
parent
5a4a0116d9
commit
112165ffbe
1 changed files with 5 additions and 0 deletions
|
|
@ -22,6 +22,11 @@ if test -f $HOME/.ripgreprc
|
|||
set -gx RIPGREP_CONFIG_PATH $HOME/.ripgreprc
|
||||
end
|
||||
|
||||
# don't use TPM abrmd
|
||||
if test -e /dev/tpmrm0
|
||||
set -gx TPM2_PKCS11_TCTI device:/dev/tpmrm0
|
||||
end
|
||||
|
||||
function launch
|
||||
true && $argv & && disown && exit
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue