fish: Alias gpg to gpg2
This commit is contained in:
parent
54127b2685
commit
e7304cbcac
2 changed files with 3 additions and 3 deletions
|
@ -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 CVS_RSH ssh
|
||||
|
||||
if type -q gpg2
|
||||
alias gpg=gpg2
|
||||
end
|
||||
if type -q gpg
|
||||
# Make sure the GPG agent is running
|
||||
gpg --card-status &>/dev/null
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
function gpg --wraps=gpg2
|
||||
command gpg2 $argv
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue