keychain
This commit is contained in:
parent
62d1ae2e7e
commit
e09e55d38a
7
env.zsh
7
env.zsh
@ -3,4 +3,11 @@ export PATH=~/.local/bin:$PATH
|
|||||||
# Удалить дубликаты в PATH
|
# Удалить дубликаты в PATH
|
||||||
typeset -U 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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user