From 5326fd027c4203cb0f31a74092e6560767159ac2 Mon Sep 17 00:00:00 2001 From: Thomas Schneider Date: Sat, 7 May 2016 17:35:25 +0200 Subject: zsh: Start gpg-agent before showing SSH keys Signed-off-by: Thomas Schneider --- dot.zshrc.local | 1 + 1 file changed, 1 insertion(+) (limited to 'dot.zshrc.local') 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' -- cgit v1.2.3