Переменные окружения

This commit is contained in:
Andrei Astafev 2019-05-28 22:06:00 +03:00
parent 07d443b081
commit fa540af946

15
env.zsh
View File

@ -1,13 +1,14 @@
export PATH=~/.local/bin:$PATH
export PATH=$HOME/bin:$HOME/.local/bin:$PATH
# Удалить дубликаты в PATH
typeset -U PATH
KEYCHAIN_DIR="$HOME/.cache/keychain"
export XDG_CONFIG_HOME=$HOME/.config
export XDG_CACHE_HOME=$HOME/.cache
export XDG_DATA_HOME=$HOME/.local/share
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
export SVDIR=$HOME/sv
#source /opt/intel/bin/compilervars.sh intel64
#source /opt/intel/vtune_amplifier/amplxe-vars.sh