| 1 | export PATH=$HOME/bin:$HOME/.local/bin:$HOME/go/bin:/snap/bin:/sbin:/usr/sbin:$PATH |
| 2 | export EDITOR=vim |
| 3 | export VISUAL=$EDITOR |
| 4 | |
| 5 | ### DIRs ### |
| 6 | export DIR_GITHUB="${HOME}/arc/sw/src/repos/remote/github.com" |
| 7 | export DIR_AUDIO="${HOME}/arc/aud" |
| 8 | export DIR_VIDEO="${HOME}/arc/vid" |
| 9 | export DIR_YOUTUBE_VIDEO="${DIR_VIDEO}/web/youtube.com" |
| 10 | export DIR_YOUTUBE_AUDIO="${DIR_AUDIO}/youtube.com" |
| 11 | export DIR_NOTES="$HOME/doc/notes" |
| 12 | export DIR_LOG="$HOME/var/log" |
| 13 | export DIR_LOG_MPD="$DIR_LOG/mpd" |
| 14 | export DIR_NQ="$HOME/var/run/nq" |
| 15 | |
| 16 | # ensure all DIRs exist: |
| 17 | env | grep ^DIR_ | awk -F= '{print $2}' | xargs -I% mkdir -p '%' |
| 18 | |
| 19 | ### FILEs ### |
| 20 | export FILE_LOG_MPD="$DIR_LOG_MPD/mpd.log" |
| 21 | export FILE_VIDEO_CATALOG="$DIR_VIDEO/catalog" |
| 22 | |
| 23 | # .Net Core |
| 24 | #DOTNET_ROOT_path=$(which dotnet) |
| 25 | #DOTNET_ROOT_realpath=$(realpath "$DOTNET_ROOT_path") |
| 26 | #DOTNET_ROOT_dirname=$(dirname "$DOTNET_ROOT_realpath") |
| 27 | #export DOTNET_ROOT="$DOTNET_ROOT_dirname" |
| 28 | export PATH=$PATH:$HOME/.dotnet/tools |
| 29 | |
| 30 | # Rust / cargo |
| 31 | export PATH=$PATH:$HOME/.cargo/bin |
| 32 | |
| 33 | # Racket packages |
| 34 | # WARN: ensure the version is correct |
| 35 | export PATH=$PATH:$HOME/.racket/7.9/bin |
| 36 | |
| 37 | # Gambit Scheme |
| 38 | export PATH=$PATH:/usr/local/Gambit/bin |
| 39 | |
| 40 | # DPI |
| 41 | . "$HOME/lib/login_variables_dpi.sh" |
| 42 | |
| 43 | # Doom |
| 44 | export PATH=$PATH:$HOME/.emacs.d/bin |
| 45 | |
| 46 | # Ruby |
| 47 | export "$HOME/.gem/ruby/2.5.0/bin" |