diff --git a/.gitignore b/.gitignore index 5891700..a150ccd 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ .zcalc_history .zcompdump* *.zwc +!apps.d diff --git a/.zshenv b/.zshenv index 73a87cd..7e9a17a 100644 --- a/.zshenv +++ b/.zshenv @@ -64,19 +64,5 @@ fi export UNCRUSTIFY_CONFIG="${XDG_CONFIG_HOME}/uncrustify/uncrustify.cfg" [ ! -r "${UNCRUSTIFY_CONFIG}" ] && unset UNCRUSTIFY_CONFIG -# Intel OneAPI #{{{ -if [[ -n ${ENABLE_INTEL_STUDIO+set} ]]; then - #export COMPILERVARS_ARCHITECTURE=intel64 - #export COMPILERVARS_PLATFORM=linux - INTEL_VARS=( /opt/intel/oneapi/advisor/latest/advixe-vars.sh - /opt/intel/oneapi/compiler/latest/env/vars.sh - /opt/intel/oneapi/vtune/latest/vtune-vars.sh ) - - for f in "${INTEL_VARS[@]}"; do - if [ -r "$f" ]; then source "$f" >/dev/null; fi - done -fi -# }}} - [ -r "$ZDOTDIR/.zshenv.user" ] && source "$ZDOTDIR/.zshenv.user" diff --git a/apps.d/eget.zsh b/apps.d/eget.zsh index 52dfca7..e58b2a2 100644 --- a/apps.d/eget.zsh +++ b/apps.d/eget.zsh @@ -1,3 +1,7 @@ +# shellcheck shell=bash +# vim: ft=sh + if command -v eget >/dev/null; then - [ -f $XDG_CONFIG_HOME/eget/eget.toml ] && export EGET_CONFIG=$XDG_CONFIG_HOME/eget/eget.toml + EGET_CONFIG="$XDG_CONFIG_HOME/eget/eget.toml" + [ -r "$XDG_CONFIG_HOME/eget/eget.toml" ] && export EGET_CONFIG fi