summaryrefslogtreecommitdiff
path: root/00_Exports.zsh
diff options
context:
space:
mode:
Diffstat (limited to '00_Exports.zsh')
-rw-r--r--00_Exports.zsh5
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}