diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2009-02-05 16:39:31 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2009-02-05 16:39:31 +0100 |
commit | 1464e8b759598fb9fa498e10a9a43d43448613b4 (patch) | |
tree | 1a0e74441c26ffcf76502a88b4b4d17f4ea90e8d /zshrc | |
parent | 893fba1b05b3639c622304db6ea8665916e5bb0b (diff) |
[GnuPG] corrects errors
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |