zsh/env.zsh
2019-01-09 16:47:47 +03:00

14 lines
354 B
Bash

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