From 739066b4c2ab05f5a6ee1034ee41f408da167b21 Mon Sep 17 00:00:00 2001 From: hugues Date: Mon, 3 Apr 2006 20:44:55 +0000 Subject: Utilisation de keychain au login Ajout du support GnuPG agent git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@216 a0e5b806-a6f9-0310-978d-cbce73f8a913 --- 00_Exports.zsh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '00_Exports.zsh') diff --git a/00_Exports.zsh b/00_Exports.zsh index 1649fbf..711599d 100644 --- a/00_Exports.zsh +++ b/00_Exports.zsh @@ -9,9 +9,8 @@ export PRINTER=Berthe export TIME_STYLE="+%Y-%b-%d %H:%M" export TZ="Europe/Paris" KEYCHAIN=~/.keychain/$(hostname)-sh -if ( [ -f $KEYCHAIN ] ); then - source $KEYCHAIN -fi +[ -f $KEYCHAIN ] && source $KEYCHAIN +[ -f ${KEYCHAIN}-gpg ] && source ${KEYCHAIN}-gpg export PATH=$PATH:~/.pr0n # Set locales only if they are undefined export LC_ALL=${LC_ALL:-fr_FR.UTF-8} -- cgit v1.2.3