kshenv (1276B)
1 export BROWSER=browser 2 #export MPD_HOST=~/.config/mpd/socket 3 export MPD_HOST="localhost" 4 export LESS='-FRM' 5 export LESSHISTFILE="-" 6 export HISTFILE=~/.config/ksh/history 7 export HISTSIZE=10000 8 export HISTCONTROL=ignoredups:ignorespace 9 export SFEED_URL_FILE=$HOME/.cache/sfeed/urls 10 export EDITOR=/usr/alt/bin/vis 11 export VISUAL=/usr/alt/bin/vis 12 13 # setup default xdg dirs 14 export XDG_CACHE_HOME=${HOME}/.cache 15 export XDG_CONFIG_HOME=${HOME}/.config 16 export XDG_DATA_HOME=${HOME}/.local/share 17 18 if test -z "${XDG_RUNTIME_DIR}"; then 19 export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXXXXX) 20 fi 21 22 # this is broken and doesn't work properly with netbsd-curses 23 unset TERMINFO_DIRS 24 25 # improve readability of samu output 26 export NINJA_STATUS="[36;1m[%e (s): %s/%t][0m " 27 28 # these programs like to make a mess of ~ 29 export CARGO_HOME=$XDG_DATA_HOME/cargo 30 export GNUPGHOME=$XDG_DATA_HOME/gnupg 31 export GOMODCACHE=$XDG_CACHE_HOME/go/pkg/mod 32 export GOPATH=$XDG_DATA_HOME/go 33 export MBLAZE=$XDG_DATA_HOME/mblaze 34 export PLATFORMIO_CORE_DIR=$XDG_DATA_HOME/platformio 35 export TEXMFCONFIG=$XDG_CONFIG_HOME/texlive/texmf-config 36 export TEXMFHOME=$XDG_DATA_HOME/texmf 37 export TEXMFVAR=$XDG_CACHE_HOME/texlive/texmf-var 38 export WGETRC=$XDG_CONFIG_HOME/wgetrc 39 export WINEPREFIX=$XDG_DATA_HOME/wine