1
1
Fork 0

fish: Alias gpg to gpg2

This commit is contained in:
Jonathan Schleifer 2022-11-27 14:58:42 +00:00
parent 54127b2685
commit e7304cbcac
2 changed files with 3 additions and 3 deletions

View file

@ -39,6 +39,9 @@ set -x SUDO_PROMPT (printf "\033[0;31m[\033[1;31msudo -> %%U\033[0;31m]\033[0m P
set -x GNUPGHOME "$XDG_DATA_HOME/gnupg" set -x GNUPGHOME "$XDG_DATA_HOME/gnupg"
set -x CVS_RSH ssh set -x CVS_RSH ssh
if type -q gpg2
alias gpg=gpg2
end
if type -q gpg if type -q gpg
# Make sure the GPG agent is running # Make sure the GPG agent is running
gpg --card-status &>/dev/null gpg --card-status &>/dev/null

View file

@ -1,3 +0,0 @@
function gpg --wraps=gpg2
command gpg2 $argv
end