zsh/env.zsh

14 lines
354 B
Bash
Raw Normal View History

2018-11-18 15:06:09 +00:00
export PATH=~/.local/bin:$PATH
# Удалить дубликаты в PATH
typeset -U PATH
2019-01-09 13:47:47 +00:00
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