From 1464e8b759598fb9fa498e10a9a43d43448613b4 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Thu, 5 Feb 2009 16:39:31 +0100 Subject: [GnuPG] corrects errors --- zshrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'zshrc') 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 -- cgit v1.2.3