summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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