aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schneider <qsuscs@qsuscs.de>2016-05-07 17:35:25 +0200
committerThomas Schneider <qsuscs@qsuscs.de>2016-05-07 17:35:25 +0200
commit5326fd027c4203cb0f31a74092e6560767159ac2 (patch)
tree269c9ee750752220b82956e809581d71e53cf6bb
parent935583b1cd99e06d0784e02391bb4a7d37450594 (diff)
zsh: Start gpg-agent before showing SSH keys
Signed-off-by: Thomas Schneider <qsuscs@qsuscs.de>
-rw-r--r--dot.zshrc.local1
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'