From acb3af55ee6d034df962566fa2569dfec06507b8 Mon Sep 17 00:00:00 2001 From: Sebastian Tramp Date: Tue, 4 Sep 2012 09:28:14 +0200 Subject: [PATCH] fix env and term var --- environment.zsh | 5 ++++- linux.zsh | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/environment.zsh b/environment.zsh index 6a348d9..e9c1914 100644 --- a/environment.zsh +++ b/environment.zsh @@ -12,6 +12,9 @@ export ZSH_CACHE="$XDG_CACHE_HOME/zsh" mkdir -p $ZSH_CACHE # executable search path +export PATH=/usr/local/sbin:$PATH export PATH=$HOME/.local/bin:$PATH +export PATH=$HOME/.local/sbin:$PATH - +# https://github.com/mxcl/homebrew/issues/11182 +export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH diff --git a/linux.zsh b/linux.zsh index 8d590a8..c163fa2 100644 --- a/linux.zsh +++ b/linux.zsh @@ -1,3 +1,7 @@ +# if we have a screen, we can try a colored screen +if [[ "$TERM" == "screen" ]]; then + export TERM="screen-256color" +fi # activate ls colors, (private if possible) export ZSH_DIRCOLORS="$ZSH_CONFIG/dircolors-solarized/dircolors.256dark"