X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=config%2Fzsh%2F20_environment;h=bc2958a7ebc69822262d7c6087ff49972e3566a4;hb=b432593cd0e91f2b0eb9bba5d106b563cd98e916;hp=6c33ec7c672d7573397817b238d7677c9a75622c;hpb=5d1af5e2d843cdca9551fcdd769ebad8075d6750;p=~madcoder%2Fdotfiles.git diff --git a/config/zsh/20_environment b/config/zsh/20_environment index 6c33ec7..bc2958a 100644 --- a/config/zsh/20_environment +++ b/config/zsh/20_environment @@ -19,7 +19,6 @@ export RLWRAP_HOME="$HOME/.cache/rlwrap/" export GTK_IM_MODULE=xim export BROWSER=chromium-browser -export PYTHONPATH=/home/madcoder/local/lib/python/ export LC_MESSAGES=C unset LC_ALL @@ -33,11 +32,17 @@ else ;; *) PATH="/usr/lib/ccache:${HOME}/local/bin:${HOME}/bin:${PATH}" - LD_LIBRARY_PATH="${HOME}/local/lib" + case $(uname) in + Darwin) + ;; + *) + LD_LIBRARY_PATH="${HOME}/local/lib" + ;; + esac ;; esac fi -if test -z "$TZ"; then +if test -f /etc/timezone -a -z "$TZ"; then export TZ=$(cat /etc/timezone) fi