Commit | Line | Data |
---|---|---|
76db608e SK |
1 | export EDITOR=vim |
2 | export VISUAL=$EDITOR | |
ab5c7e5c SK |
3 | |
4 | ### DIRs ### | |
a52efe10 | 5 | export DIR_GITHUB="${HOME}/arc/sw/src/repos/remote/github.com" |
a42aa7f8 SK |
6 | export DIR_AUDIO="${HOME}/arc/aud" |
7 | export DIR_VIDEO="${HOME}/arc/vid" | |
bb2bfa3d | 8 | export DIR_YOUTUBE_VIDEO="${DIR_VIDEO}/web/youtube.com" |
86b74662 | 9 | export DIR_YOUTUBE_AUDIO="${DIR_AUDIO}/youtube.com" |
a42aa7f8 | 10 | export DIR_NOTES="$HOME/doc/notes" |
6fe00273 SK |
11 | export DIR_LOG="$HOME/var/log" |
12 | export DIR_LOG_MPD="$DIR_LOG/mpd" | |
ab5c7e5c SK |
13 | export DIR_NQ="$HOME/var/run/nq" |
14 | ||
15 | # ensure all DIRs exist: | |
16 | env | grep ^DIR_ | awk -F= '{print $2}' | xargs -I% mkdir -p '%' | |
17 | ||
18 | ### FILEs ### | |
6fe00273 | 19 | export FILE_LOG_MPD="$DIR_LOG_MPD/mpd.log" |
f7352c48 | 20 | export FILE_VIDEO_CATALOG="$DIR_VIDEO/catalog" |
f4879502 SK |
21 | |
22 | # .Net Core | |
9a43ecc1 SK |
23 | #DOTNET_ROOT_path=$(which dotnet) |
24 | #DOTNET_ROOT_realpath=$(realpath "$DOTNET_ROOT_path") | |
25 | #DOTNET_ROOT_dirname=$(dirname "$DOTNET_ROOT_realpath") | |
26 | #export DOTNET_ROOT="$DOTNET_ROOT_dirname" | |
d44caad4 | 27 | export PATH=$PATH:$HOME/.dotnet/tools |
11c1919d | 28 | |
dee031b5 SK |
29 | # Rust / cargo |
30 | export PATH=$PATH:$HOME/.cargo/bin | |
31 | ||
3b50a499 | 32 | # Racket packages |
e7e33e78 SK |
33 | RACKET_VERSION=$(racket --version | awk '{for (i=1; i<=NF; i++) {if ($i ~ /^v[0-9]+\.[0-9]+/) {sub("^v", "", $i); print $i; exit 0}}}') |
34 | export PATH=$PATH:$HOME/.racket/"$RACKET_VERSION"/bin | |
3b50a499 | 35 | |
acadce2e SK |
36 | # Gambit Scheme |
37 | export PATH=$PATH:/usr/local/Gambit/bin | |
38 | ||
11c1919d SK |
39 | # DPI |
40 | . "$HOME/lib/login_variables_dpi.sh" | |
c7786e73 SK |
41 | |
42 | # Doom | |
43 | export PATH=$PATH:$HOME/.emacs.d/bin | |
7a087ef9 SK |
44 | |
45 | # Ruby | |
42fa0326 | 46 | export PATH="$PATH":"$HOME"/.gem/ruby/2.5.0/bin |
a9d34646 SK |
47 | |
48 | # Go | |
49 | export GOPATH=$HOME/.go | |
50 | ||
51 | export PATH=$HOME/bin:$HOME/.local/bin:$GOPATH/bin:/snap/bin:/sbin:/usr/sbin:$PATH |