2022-09-25 16:42:45 +02:00
|
|
|
if set -q MZTE_ENV_SET
|
|
|
|
exit
|
|
|
|
end
|
|
|
|
set -gx MZTE_ENV_SET
|
|
|
|
|
2023-02-12 10:47:59 +01:00
|
|
|
# mix should respect XDG standard
|
|
|
|
export MIX_XDG=1
|
|
|
|
|
2022-07-10 14:56:01 +02:00
|
|
|
# use clang compiler
|
|
|
|
export CC=clang
|
|
|
|
export CXX=clang++
|
|
|
|
|
|
|
|
# neovim editor
|
|
|
|
export EDITOR=nvim
|
|
|
|
|
|
|
|
# paths
|
2022-11-02 20:10:32 +01:00
|
|
|
export PATH="$HOME/.mix/escripts:$HOME/.cargo/bin:$HOME/.local/bin:$HOME/go/bin:$PATH"
|
2022-07-10 14:56:01 +02:00
|
|
|
export LUA_CPATH="$HOME/.local/lib/lua/?.so;$HOME/.local/lib/lua/?.lua;;"
|
2023-02-12 10:54:45 +01:00
|
|
|
|
|
|
|
if which racket > /dev/null
|
|
|
|
set -ax PATH (racket -e '(require setup/dirs) (display (path->string (find-user-console-bin-dir)))')
|
|
|
|
end
|