14 lines
354 B
Bash
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
|
|
|