From 9868b8f17cc516f85fe3ad6c3189097066972f8f Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Thu, 5 Feb 2009 16:48:43 +0100 Subject: [GnuPG] grr.. can't keep in mind what i'm doing.. --- zshrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'zshrc') diff --git a/zshrc b/zshrc index ea58c14..69ad79d 100644 --- a/zshrc +++ b/zshrc @@ -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 -- cgit v1.2.3