X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=config%2Fzsh%2F20_environment;h=8dc12cc884ceaf22f39073d14c6313eef8995963;hb=2af82e92637833473bb7419b34ca7c9b8304dc54;hp=65e3a64aa9dcd2f4e04ad6ecbfa547601873436d;hpb=88aab5689fc1d5a3b306d32e7235bdd75a45e3f7;p=~madcoder%2Fdotfiles.git diff --git a/config/zsh/20_environment b/config/zsh/20_environment index 65e3a64..8dc12cc 100644 --- a/config/zsh/20_environment +++ b/config/zsh/20_environment @@ -13,10 +13,21 @@ export EDITOR=vim export VISUAL=vim export CCACHE_DIR="$HOME/.cache/ccache" export CCACHE_NOCOMPRESS=NoThanks +export CCACHE_HARDLINK=YesPlease export RLWRAP_HOME="$HOME/.cache/rlwrap/" export GTK_IM_MODULE=xim +export BROWSER=chromium-browser + export LC_MESSAGES=C -export LC_ALL= -unset VERBOSE +unset LC_ALL +unset VERBOSE + +if [ $UID -eq 0 ]; then + PATH=~root/bin:/usr/local/sbin:/usr/sbin:/sbin:$PATH +else + PATH="${HOME}/local/bin:/usr/lib/ccache:${HOME}/bin:${PATH}" + LD_LIBRARY_PATH="${HOME}/local/lib" +fi +