zsh/env.zsh

23 lines
963 B
Bash
Raw Normal View History

export XDG_CONFIG_HOME=$HOME/.config
export XDG_CACHE_HOME=$HOME/.cache
export XDG_DATA_HOME=$HOME/.local/share
2019-01-09 13:47:47 +00:00
export PATH=$HOME/bin:$HOME/.local/bin:$XDG_DATA_HOME/npm/node_modules/.bin:$PATH
# Удалить дубликаты в PATH
typeset -U PATH
2019-08-22 08:46:38 +00:00
export GNUPGHOME=$HOME/.config/gnupg
export SVDIR=$HOME/sv
2020-03-27 18:05:39 +00:00
# Настройка uncrustify
2019-08-20 14:57:06 +00:00
UNCRUSTIFY_CONFIG="${XDG_CONFIG_HOME}/uncrustify/default.cfg"
[ -e "${UNCRUSTIFY_CONFIG}" ] && export UNCRUSTIFY_CONFIG
2020-03-27 18:05:39 +00:00
# Настройка компилятора Intel (если установлен)
2019-09-26 10:27:05 +00:00
[ -e /opt/intel/bin/compilervars.sh ] && source /opt/intel/bin/compilervars.sh intel64 > /dev/null
[ -e /opt/intel/vtune_amplifier/amplxe-vars.sh ] && source /opt/intel/vtune_amplifier/amplxe-vars.sh > /dev/null
[ -e /opt/intel/inspector/inspxe-vars.sh ] && source /opt/intel/inspector/inspxe-vars.sh > /dev/null
[ -e /opt/intel/advisor/advixe-vars.sh ] && source /opt/intel/advisor/advixe-vars.sh > /dev/null