From: Mike Frysinger Date: Fri, 17 Aug 2012 21:26:23 +0000 (-0400) Subject: use hostname for keychain fragments X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b945ae0f1cf7188deedf6ec623fbc775888df9bd;p=home.git use hostname for keychain fragments --- 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