From b945ae0f1cf7188deedf6ec623fbc775888df9bd Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 17 Aug 2012 17:26:23 -0400 Subject: [PATCH] use hostname for keychain fragments --- .profile.d/keychain.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.profile.d/keychain.sh b/.profile.d/keychain.sh index 920035b..436d21f 100644 --- a/.profile.d/keychain.sh +++ b/.profile.d/keychain.sh @@ -1,4 +1,4 @@ if type -P keychain >/dev/null ; then - [ -e ~/.keychain/vapier-sh ] && source ~/.keychain/vapier-sh - [ -e ~/.keychain/vapier-sh-gpg ] && source ~/.keychain/vapier-sh-gpg + [ -e ~/.keychain/${HOSTNAME}-sh ] && source ~/.keychain/${HOSTNAME}-sh + [ -e ~/.keychain/${HOSTNAME}-sh-gpg ] && source ~/.keychain/${HOSTNAME}-sh-gpg fi -- 2.39.5