Add GPG_TTY variable to bashrc

This commit is contained in:
Talia 2019-02-25 13:47:29 +01:00
parent 454d370f70
commit 18129e31a7

3
bashrc
View file

@ -18,6 +18,7 @@ alias server='ssh server -t ''tmux a -t home \|\| tmux new-session -s home'''
alias ltc='getclip | luac -l -' alias ltc='getclip | luac -l -'
alias sign='gpg --armor --no-version --detach-sign --local-user darkwiiplayer' alias sign='gpg --armor --no-version --detach-sign --local-user darkwiiplayer'
alias workspace='cd ~/workspace' alias workspace='cd ~/workspace'
alias shit='git'
stty -ixon stty -ixon
@ -126,3 +127,5 @@ cd() {
source .bashcd source .bashcd
fi fi
} }
export GPG_TTY="$(tty)" # This is necessary for the gpg-agent, apparently