Augment daily todo template
[khome.git] / home / lib / login_variables.sh
1 export EDITOR=vim
2 export VISUAL=$EDITOR
3
4 ### DIRs ###
5 export DIR_GITHUB="${HOME}/arc/sw/src/repos/remote/github.com"
6 export DIR_AUDIO="${HOME}/arc/aud"
7 export DIR_VIDEO="${HOME}/arc/vid"
8 export DIR_YOUTUBE_VIDEO="${DIR_VIDEO}/web/youtube.com"
9 export DIR_YOUTUBE_AUDIO="${DIR_AUDIO}/youtube.com"
10 export DIR_NOTES="$HOME/doc/notes"
11 export DIR_LOG="$HOME/var/log"
12 export DIR_LOG_MPD="$DIR_LOG/mpd"
13 export DIR_NQ="$HOME/var/run/nq"
14 export DIR_WALLPAPERS="$HOME/arc/img/Wallpapers"
15 export DIR_TODO="$HOME/doc/TODO"
16
17 # ensure all DIRs exist:
18 env | grep ^DIR_ | awk -F= '{print $2}' | xargs -I% mkdir -p '%'
19
20 ### FILEs ###
21 export FILE_LOG_MPD="$DIR_LOG_MPD/mpd.log"
22 export FILE_VIDEO_CATALOG="$DIR_VIDEO/catalog"
23 export FILE_WALLPAPER_CURR="$HOME/wallpaper_curr.txt"
24 export FILE_WALLPAPER_FAVS="$HOME/wallpaper_favs.txt"
25
26 # .Net Core
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"
31 export PATH=$PATH:$HOME/.dotnet/tools
32
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
39 # Rust / cargo
40 export PATH=$PATH:$HOME/.cargo/bin
41
42 # Racket packages
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
45
46 # Gambit Scheme
47 export PATH=$PATH:/usr/local/Gambit/bin
48
49 # Doom
50 export PATH=$PATH:$HOME/.emacs.d/bin
51
52 # Ruby
53 export PATH="$PATH":"$HOME"/.gem/ruby/2.5.0/bin
54
55 # Go
56 export GOPATH=$HOME/.go
57
58 export PATH=$HOME/bin:$HOME/.local/bin:$GOPATH/bin:/snap/bin:/sbin:/usr/sbin:$PATH
This page took 0.103625 seconds and 4 git commands to generate.