dotfiles/.profile: fix keychain setup

This commit is contained in:
Kyle Isom 2023-04-11 15:36:07 -07:00
parent ec8eec2089
commit 92d760757a
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ fi
if [ ! -z "$(command -v keychain)" ] if [ ! -z "$(command -v keychain)" ]
then then
KEYCHAIN_RC="$HOME/.keychain/${HOST%%.*}-sh" KEYCHAIN_RC="$HOME/.keychain/$(hostname -s)-sh"
keychain -q keychain -q
if [ -s "$KEYCHAIN_RC" ] if [ -s "$KEYCHAIN_RC" ]
then then