From d9de394d9645f65712c7d712ebfbc322fd5c8d48 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Mon, 2 Feb 2009 12:59:10 +0100 Subject: [KEYCHAIN] meilleure gestion au login et à chaque prompt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 10_Environment.zsh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to '10_Environment.zsh') diff --git a/10_Environment.zsh b/10_Environment.zsh index 502f325..158aae3 100644 --- a/10_Environment.zsh +++ b/10_Environment.zsh @@ -19,14 +19,8 @@ export SHELL=`which zsh` ## Agent de clefs SSH/GPG -if [ "$SUDO_USER" = "" ] -then - KEYCHAIN=~/.keychain/$(hostname)-sh - for file in $(find $KEYCHAIN:h -name "$(hostname)-sh" -o -name "$(hostname)-sh-*") - do - source $file - done -fi +KEYCHAIN=~/.keychain/$(hostname)-sh + ## Colors autoload colors && colors -- cgit v1.2.3