about summary refs log tree commit diff stats
path: root/config/shrc
blob: 10f52872ee563a703edaf1095d31f5e714d83628 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/sh
# cleaner shell environment than .profile, used with shenv
export HOME_ETC="$HOME/etc"
export HOME_DATA="$HOME/share"
export HOME_LOG="$HOME/var/log"
export HOME_CACHE="$HOME/var/cache"
export HOME_BIN="$HOME/bin"
export HOME_EXT="$HOME/local"
export HOME_EXT_BIN="$HOME_EXT/bin"
export HOME_EXT_SRC="$HOME_EXT/src"

export XDG_CACHE_HOME="${HOME_CACHE:=$HOME/.cache}"
export XDG_CONFIG_HOME="${HOME_ETC:=$HOME/.config}"
export XDG_DATA_HOME="${HOME_DATA:=$HOME/.local/share}"

export PATH="$HOME_BIN:$HOME_EXT_BIN:$PATH"

export EDITOR="vise"
export FILE="lf"
export PAGER="less"
export TERMINAL="xterm"
export OPENER="op"
export BROWSER="firefox"
export COMM="comm-sel"
export READER="zathura"
export MAILER="neomutt"
export MUSIC="ncmpcpp"
export RSS="newsboat"
export SCR="maim"
export LOCK="slock"
#less args
export LESS='-iFMRX~ -x2'
#locale info
export LANGUAGE="en"
export LANG="POSIX.UTF-8"
export LC_ALL="POSIX.UTF-8"
#lscolor
export CLICOLOR=1
#todo(1)
export TODO="$HOME_DATA/xdg/doc/todo"
#ksh
export ENV="$HOME_ETC/ksh/kshrc"

#cleanup paths
export GTK2_RC_FILES="$HOME_ETC/gtk-2.0/gtkrc-2.0"
export LESSHISTFILE="-"
export GOPATH="$HOME_EXT/go"
export GOCACHE="$HOME_CACHE/go"
export GOBIN="$HOME_EXT_BIN"
export CARGO_HOME="$HOME_EXT/rust"
export PYTHONUSERBASE="$HOME_EXT/python"
export MEDNAFEN_HOME="$HOME_ETC/mednafen"
export _JAVA_OPTIONS="-Djava.util.prefs.userRoot=$HOME_ETC/java"
export TERMINFO="$HOME_DATA/terminfo"
export MAILCAPS="$HOME_ETC/mailcap"