summaryrefslogtreecommitdiff
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
parent893fba1b05b3639c622304db6ea8665916e5bb0b (diff)
[GnuPG] corrects errors
-rw-r--r--net:osn.sagem/user:root/Exec.zsh.gpg (renamed from net:osn.sagem/user:root/Exec.gpg)bin485 -> 485 bytes
-rw-r--r--zshrc6
2 files changed, 3 insertions, 3 deletions
diff --git a/net:osn.sagem/user:root/Exec.gpg b/net:osn.sagem/user:root/Exec.zsh.gpg
index 577878e..577878e 100644
--- a/net:osn.sagem/user:root/Exec.gpg
+++ b/net:osn.sagem/user:root/Exec.zsh.gpg
Binary files differ
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