summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2009-02-05 16:39:31 +0100
committerHugues Hiegel <hugues@hiegel.fr>2009-02-05 16:39:31 +0100
commit1464e8b759598fb9fa498e10a9a43d43448613b4 (patch)
tree1a0e74441c26ffcf76502a88b4b4d17f4ea90e8d /zshrc
parent893fba1b05b3639c622304db6ea8665916e5bb0b (diff)
[GnuPG] corrects errors
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