improve ssh though gpg agent
This commit is contained in:
parent
f17942c98e
commit
40dd68db21
@ -8,3 +8,7 @@ no-grab
|
|||||||
# pinentry-program /usr/bin/pinentry-kwallet
|
# pinentry-program /usr/bin/pinentry-kwallet
|
||||||
pinentry-program /usr/bin/pinentry-gtk-2
|
pinentry-program /usr/bin/pinentry-gtk-2
|
||||||
|
|
||||||
|
# Cache settings
|
||||||
|
default-cache-ttl 10800
|
||||||
|
default-cache-ttl-ssh 10800
|
||||||
|
|
||||||
|
4
zshrc
4
zshrc
@ -43,7 +43,7 @@ export GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
|
|||||||
export EDITOR="vim"
|
export EDITOR="vim"
|
||||||
stty -ixon # turn of <C-s> for vimshell
|
stty -ixon # turn of <C-s> for vimshell
|
||||||
|
|
||||||
# GPG-agent
|
# GPG ssh tty
|
||||||
|
export GPG_TTY=$(tty)
|
||||||
envoy -t gpg-agent
|
envoy -t gpg-agent
|
||||||
source <(envoy -p)
|
source <(envoy -p)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user