bashrc & zshrc: add alias gpg-fix-tty.

This commit is contained in:
Mikaela Suomalainen 2014-05-28 19:20:12 +03:00
parent 8aa33ea3ef
commit e51dec19b0
2 changed files with 3 additions and 0 deletions

1
bashrc
View File

@ -375,6 +375,7 @@ fi
# Use GPG2 instead of GPG!
# alias gpg=gpg2 # MKAYSIGREP # MKAYSIGREPALIAS
alias gpg-fix-tty='export GPG_TTY=$(tty)'
# For userspecific installation of mosh on remote server.
alias lmosh="mosh --server=~/.local/bin/mosh-server "

2
zshrc
View File

@ -336,6 +336,8 @@ fi
# Use GPG2 instead of GPG!
#alias gpg=gpg2 # MKAYSIGREP MKAYSIGREPALIAS
alias gpg-fix-tty='export GPG_TTY=$(tty)'
# ZSH doesn't currently include automatic completion for GPG2,
# so use the GPG one, which works with GPG2 too. This is in aliases,
# because that above alias needs this and this will disappear when zsh