diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2009-02-02 12:59:10 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2009-02-02 12:59:10 +0100 |
commit | d9de394d9645f65712c7d712ebfbc322fd5c8d48 (patch) | |
tree | 61cac445bffffd928046124dedfbb839574db1c0 /10_Environment.zsh | |
parent | 4a5b97a865f614b4aebf93a2d04bb6616c7d864d (diff) |
[KEYCHAIN] meilleure gestion au login et à chaque prompt
Diffstat (limited to '10_Environment.zsh')
-rw-r--r-- | 10_Environment.zsh | 10 |
1 files changed, 2 insertions, 8 deletions
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 |