diff options
author | hugues <hugues@a0e5b806-a6f9-0310-978d-cbce73f8a913> | 2006-04-03 20:44:55 +0000 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2008-03-07 14:15:07 +0100 |
commit | 739066b4c2ab05f5a6ee1034ee41f408da167b21 (patch) | |
tree | 44fc4384abb1b7309d061bc6b60ddaeaafd192b7 /00_Exports.zsh | |
parent | 62115f240c3f2d7e424bf654f21a3bf9b15cb2d8 (diff) |
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
Diffstat (limited to '00_Exports.zsh')
-rw-r--r-- | 00_Exports.zsh | 5 |
1 files changed, 2 insertions, 3 deletions
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} |