X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=shell%2Fenv;h=0739edf061ca91822e9cd206ce409c35eb00bf5f;hb=3dc5f80854c4a9a411220625158307b01ff2930a;hp=a71dfc718784813d608e2a8ab7bdbd0208c24e17;hpb=9598f48f59d3ad70faac00f5c4c9466d28591a7e;p=config%2Fdotfiles.git diff --git a/shell/env b/shell/env index a71dfc7..0739edf 100644 --- a/shell/env +++ b/shell/env @@ -9,7 +9,10 @@ source_debug ". ~/.shell/env" LANG=en_US.UTF-8 export LANG -# Add ~/bin and ~/.bin to PATH if available. +# Add ~/bin and ~/.bin and ~/.shell/bin to PATH if available. +if [ -d ~/.shell/bin ]; then + PATH=~/.shell/bin:$PATH +fi if [ -d ~/bin ]; then PATH=~/bin:$PATH fi @@ -34,6 +37,10 @@ if [ -O ~/tmp -a -d ~/tmp ]; then export TMP TEMP TMPDIR fi +# Change rlwrap's home directory to prevent cluttering ~. +RLWRAP_HOME=~/.shell/rlwrap +export RLWRAP_HOME + # Set colors for GNU ls (and zsh completions). # See `dircolors --print-database` for possible colors. LS_COLORS='no=00'