X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=config%2Fzsh%2F20_environment;fp=config%2Fzsh%2F20_environment;h=30be9fd1254d7f39ec89cad9666e2c49219d2bed;hb=13cef426cc23a32b4b9dc830e9e03688f3c475a9;hp=1d96c553aee02914648dc3dc2f4704e21114502e;hpb=371cb93727f5980aa7d6553f957bb9f5e1dffa9a;p=~madcoder%2Fdotfiles.git diff --git a/config/zsh/20_environment b/config/zsh/20_environment index 1d96c55..30be9fd 100644 --- a/config/zsh/20_environment +++ b/config/zsh/20_environment @@ -17,6 +17,16 @@ export CCACHE_NOCOMPRESS=NoThanks export RLWRAP_HOME="$HOME/.cache/rlwrap/" export GTK_IM_MODULE=xim +export BROWSER=chromium-browser + export LC_MESSAGES=C 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 +