Simplify conversion to human-readable units
[khome.git] / home / lib / login_variables.sh
CommitLineData
76db608e
SK
1export EDITOR=vim
2export VISUAL=$EDITOR
ab5c7e5c
SK
3
4### DIRs ###
a52efe10 5export DIR_GITHUB="${HOME}/arc/sw/src/repos/remote/github.com"
a42aa7f8
SK
6export DIR_AUDIO="${HOME}/arc/aud"
7export DIR_VIDEO="${HOME}/arc/vid"
bb2bfa3d 8export DIR_YOUTUBE_VIDEO="${DIR_VIDEO}/web/youtube.com"
86b74662 9export DIR_YOUTUBE_AUDIO="${DIR_AUDIO}/youtube.com"
a42aa7f8 10export DIR_NOTES="$HOME/doc/notes"
6fe00273
SK
11export DIR_LOG="$HOME/var/log"
12export DIR_LOG_MPD="$DIR_LOG/mpd"
ab5c7e5c 13export DIR_NQ="$HOME/var/run/nq"
d061650f 14export DIR_WALLPAPERS="$HOME/arc/img/Wallpapers"
e2b9f534 15export DIR_TODO="$HOME/doc/TODO"
ab5c7e5c
SK
16
17# ensure all DIRs exist:
18env | grep ^DIR_ | awk -F= '{print $2}' | xargs -I% mkdir -p '%'
19
20### FILEs ###
6fe00273 21export FILE_LOG_MPD="$DIR_LOG_MPD/mpd.log"
f7352c48 22export FILE_VIDEO_CATALOG="$DIR_VIDEO/catalog"
787359d1
SK
23export FILE_WALLPAPER_CURR="$HOME/wallpaper_curr.txt"
24export 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 31export PATH=$PATH:$HOME/.dotnet/tools
11c1919d 32
d29d0f9b
SK
33# Erlang
34ERL_AFLAGS="+pc unicode"
35ERL_AFLAGS="$ERL_AFLAGS -kernel shell_history enabled"
36ERL_AFLAGS="$ERL_AFLAGS -kernel shell_history_path '\"$HOME/.erl_history\"'"
37export ERL_AFLAGS
38
dee031b5
SK
39# Rust / cargo
40export PATH=$PATH:$HOME/.cargo/bin
41
3b50a499 42# Racket packages
e7e33e78
SK
43RACKET_VERSION=$(racket --version | awk '{for (i=1; i<=NF; i++) {if ($i ~ /^v[0-9]+\.[0-9]+/) {sub("^v", "", $i); print $i; exit 0}}}')
44export PATH=$PATH:$HOME/.racket/"$RACKET_VERSION"/bin
3b50a499 45
acadce2e
SK
46# Gambit Scheme
47export PATH=$PATH:/usr/local/Gambit/bin
48
c7786e73
SK
49# Doom
50export PATH=$PATH:$HOME/.emacs.d/bin
7a087ef9
SK
51
52# Ruby
42fa0326 53export PATH="$PATH":"$HOME"/.gem/ruby/2.5.0/bin
a9d34646
SK
54
55# Go
56export GOPATH=$HOME/.go
626d972c 57export PATH=$GOPATH/bin:"$PATH"
a9d34646 58
626d972c
SK
59# Node.js
60export PATH="$HOME"/node_modules/.bin:"$PATH"
61
62# Solana
63export PATH="$HOME"/.local/share/solana/install/active_release/bin:"$PATH"
64
65# VS Code
c755acb8
SK
66export PATH=/opt/VSCode/bin:"$PATH"
67
68# CLion
69export PATH=/opt/clion/bin:"$PATH"
626d972c
SK
70
71# personal
72export PATH=$HOME/bin:$HOME/.local/bin:/snap/bin:/sbin:/usr/sbin:"$PATH"
This page took 0.117396 seconds and 4 git commands to generate.