diff options
| author | Thomas Schneider <qsuscs@qsuscs.de> | 2016-05-07 17:35:25 +0200 |
|---|---|---|
| committer | Thomas Schneider <qsuscs@qsuscs.de> | 2016-05-07 17:35:25 +0200 |
| commit | 5326fd027c4203cb0f31a74092e6560767159ac2 (patch) | |
| tree | 269c9ee750752220b82956e809581d71e53cf6bb /dot.zshrc.local | |
| parent | 935583b1cd99e06d0784e02391bb4a7d37450594 (diff) | |
zsh: Start gpg-agent before showing SSH keys
Signed-off-by: Thomas Schneider <qsuscs@qsuscs.de>
Diffstat (limited to 'dot.zshrc.local')
| -rw-r--r-- | dot.zshrc.local | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dot.zshrc.local b/dot.zshrc.local index c54a61c..190fd35 100644 --- a/dot.zshrc.local +++ b/dot.zshrc.local @@ -13,6 +13,7 @@ else zstyle :prompt:grml:left:items:percent pre ' ' fi +gpg-connect-agent /bye ssh-add -l function countdown { ENDTIME=$(date -d "$1" +%s) watch -b -e -n 1 -x sh -c 'DIFF=$(($ENDTIME - $(date +%s))); echo $(($DIFF / 60)) min $(($DIFF % 60)) s; if [ $DIFF -lt 1 ]; then exit 1; fi' |
