Commit | Line | Data |
---|---|---|
7dc5a50e | 1 | export EDITOR=nvim |
76db608e | 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 | 13 | export DIR_NQ="$HOME/var/run/nq" |
d061650f | 14 | export DIR_WALLPAPERS="$HOME/arc/img/Wallpapers" |
e2b9f534 | 15 | export DIR_TODO="$HOME/doc/TODO" |
ab5c7e5c SK |
16 | |
17 | # ensure all DIRs exist: | |
18 | env | grep ^DIR_ | awk -F= '{print $2}' | xargs -I% mkdir -p '%' | |
19 | ||
20 | ### FILEs ### | |
6fe00273 | 21 | export FILE_LOG_MPD="$DIR_LOG_MPD/mpd.log" |
f7352c48 | 22 | export FILE_VIDEO_CATALOG="$DIR_VIDEO/catalog" |
787359d1 SK |
23 | export FILE_WALLPAPER_CURR="$HOME/wallpaper_curr.txt" |
24 | export FILE_WALLPAPER_FAVS="$HOME/wallpaper_favs.txt" | |
f4879502 SK |
25 | |
26 | # .Net Core | |
9a43ecc1 SK |
27 | #DOTNET_ROOT_path=$(which dotnet) |
28 | #DOTNET_ROOT_realpath=$(realpath "$DOTNET_ROOT_path") | |
29 | #DOTNET_ROOT_dirname=$(dirname "$DOTNET_ROOT_realpath") | |
30 | #export DOTNET_ROOT="$DOTNET_ROOT_dirname" | |
d44caad4 | 31 | export PATH=$PATH:$HOME/.dotnet/tools |
11c1919d | 32 | |
d29d0f9b SK |
33 | # Erlang |
34 | ERL_AFLAGS="+pc unicode" | |
35 | ERL_AFLAGS="$ERL_AFLAGS -kernel shell_history enabled" | |
36 | ERL_AFLAGS="$ERL_AFLAGS -kernel shell_history_path '\"$HOME/.erl_history\"'" | |
37 | export ERL_AFLAGS | |
38 | ||
dee031b5 SK |
39 | # Rust / cargo |
40 | export PATH=$PATH:$HOME/.cargo/bin | |
41 | ||
3b50a499 | 42 | # Racket packages |
e7e33e78 SK |
43 | 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}}}') |
44 | export PATH=$PATH:$HOME/.racket/"$RACKET_VERSION"/bin | |
3b50a499 | 45 | |
acadce2e SK |
46 | # Gambit Scheme |
47 | export PATH=$PATH:/usr/local/Gambit/bin | |
48 | ||
c7786e73 SK |
49 | # Doom |
50 | export PATH=$PATH:$HOME/.emacs.d/bin | |
7a087ef9 SK |
51 | |
52 | # Ruby | |
42fa0326 | 53 | export PATH="$PATH":"$HOME"/.gem/ruby/2.5.0/bin |
a9d34646 SK |
54 | |
55 | # Go | |
56 | export GOPATH=$HOME/.go | |
626d972c | 57 | export PATH=$GOPATH/bin:"$PATH" |
a9d34646 | 58 | |
626d972c SK |
59 | # Node.js |
60 | export PATH="$HOME"/node_modules/.bin:"$PATH" | |
61 | ||
62 | # Solana | |
63 | export PATH="$HOME"/.local/share/solana/install/active_release/bin:"$PATH" | |
64 | ||
65 | # VS Code | |
c755acb8 SK |
66 | export PATH=/opt/VSCode/bin:"$PATH" |
67 | ||
68 | # CLion | |
69 | export PATH=/opt/clion/bin:"$PATH" | |
626d972c | 70 | |
23b95bef SK |
71 | # DataGrip |
72 | export PATH=/opt/DataGrip/bin:"$PATH" | |
73 | ||
74 | # JetBrains Toolbox | |
75 | export PATH="$PATH":"$HOME"/.local/share/JetBrains/Toolbox/scripts | |
76 | ||
626d972c SK |
77 | # personal |
78 | export PATH=$HOME/bin:$HOME/.local/bin:/snap/bin:/sbin:/usr/sbin:"$PATH" |