Compare commits
3 Commits
aaf1cd8a04
...
72bbfc5694
Author | SHA1 | Date | |
---|---|---|---|
72bbfc5694 | |||
dc0ab74444 | |||
a55ae55c6a |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -5,3 +5,4 @@
|
||||
.zcalc_history
|
||||
.zcompdump*
|
||||
*.zwc
|
||||
!apps.d
|
||||
|
18
.zshenv
18
.zshenv
@@ -60,23 +60,5 @@ if command -v bat >/dev/null; then
|
||||
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
||||
fi
|
||||
|
||||
# Uncrustify
|
||||
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"
|
||||
|
||||
|
@@ -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
|
||||
|
15
apps.d/oneapi.zsh
Normal file
15
apps.d/oneapi.zsh
Normal file
@@ -0,0 +1,15 @@
|
||||
# shellcheck shell=bash
|
||||
# vim: ft=sh
|
||||
|
||||
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
|
||||
|
8
apps.d/uncrustify.zsh
Normal file
8
apps.d/uncrustify.zsh
Normal file
@@ -0,0 +1,8 @@
|
||||
# shellcheck shell=bash
|
||||
# vim: ft=sh
|
||||
|
||||
if command -v uncrustify >/dev/null; then
|
||||
UNCRUSTIFY_CONFIG="${XDG_CONFIG_HOME}/uncrustify/uncrustify.cfg"
|
||||
[ -r "${UNCRUSTIFY_CONFIG}" ] && export UNCRUSTIFY_CONFIG
|
||||
fi
|
||||
|
Reference in New Issue
Block a user