This commit is contained in:
Andrei Astafev 2019-01-09 16:47:47 +03:00
parent 62d1ae2e7e
commit e09e55d38a

View File

@ -3,4 +3,11 @@ export PATH=~/.local/bin:$PATH
# Удалить дубликаты в PATH
typeset -U PATH
KEYCHAIN_DIR="$HOME/.cache/keychain"
if [ -d "${KEYCHAIN_DIR}" ]; then
h="$(uname -n 2>/dev/null || echo unknown)"
[ -f "${KEYCHAIN_DIR}/$h-sh" ] && source "${KEYCHAIN_DIR}/$h-sh"
[ -f "${KEYCHAIN_DIR}/$h-sh-gpg" ] && source "${KEYCHAIN_DIR}/$h-sh-gpg"
fi