diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2009-02-05 16:48:43 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2009-02-05 16:48:43 +0100 |
commit | 9868b8f17cc516f85fe3ad6c3189097066972f8f (patch) | |
tree | 230c30f8d6217e4589a9c6a2503c759a1ad1090b /zshrc | |
parent | 21aa129a4adc4b5e5274559cfe859f93f763be7a (diff) |
[GnuPG] grr.. can't keep in mind what i'm doing..
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -60,16 +60,16 @@ if [ -d $ZDOTDIR ]; then "host:$HOST/user:$SUDO_USER" do specific_script=${script:h}/$i/${${script:t}/??_/} - if test -f $specific_script + if test -f $specific_script then [ "$DEBUG" = "yes" ] && echo -n "$i/${${specific_script:t:r}/??_/}... "; source $specific_script [ "$DEBUG" = "yes" ] && echo fi - if test -f $specific_script.gpg + if test -f $specific_script.gpg then - [ "$DEBUG" = "yes" ] && echo -n "$i/${${specific_script:t:r}/??_/}.gpg... "; - eval $(gpg --decrypt $specific_script.gpg) + [ "$DEBUG" = "yes" ] && echo -n "$i/${${specific_script:t:r}/??_/} [CRYPTED]... "; + eval $(gpg --homedir=~/.gnupg --decrypt $specific_script.gpg) [ "$DEBUG" = "yes" ] && echo fi done |