summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/zshrc b/zshrc
index b27453c..ea58c14 100644
--- a/zshrc
+++ b/zshrc
@@ -66,10 +66,10 @@ if [ -d $ZDOTDIR ]; then
source $specific_script
[ "$DEBUG" = "yes" ] && echo
fi
- if test -f $specific_script:r.gpg
+ if test -f $specific_script.gpg
then
- [ "$DEBUG" = "yes" ] && echo -n "$i/${${specific_script:t:r}/??_/}... ";
- gpg --decrypt $specific_script | source
+ [ "$DEBUG" = "yes" ] && echo -n "$i/${${specific_script:t:r}/??_/}.gpg... ";
+ eval $(gpg --decrypt $specific_script.gpg)
[ "$DEBUG" = "yes" ] && echo
fi
done