blob: a85bbb79ff54917320a17ff436f3f419ef475a97 (
plain) (
tree)
|
|
#!/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 LAUNCHER="dmenu_run"
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="xlock"
#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"
|