summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc30
1 files changed, 11 insertions, 19 deletions
diff --git a/.zshrc b/.zshrc
index 575192c..d38ef41 100644
--- a/.zshrc
+++ b/.zshrc
@@ -68,35 +68,24 @@ esac
autoload -U colors && colors
case `hostname` in
- coltrane*)
- HOSTCOLOR=blue
- alias tmux='TERM=screen-256color tmux -f ~/.tmux.coltrane.conf'
- export GEM_HOME=/toolbox/ruby/
- export GEM_PATH=$HOME/lib/ruby
+ 2pac*)
+ HOSTCOLOR=green
+ alias tmux='TERM=screen-256color tmux -f ~/.tmux.2pac.conf'
;;
CLuster)
HOSTCOLOR=cyan
alias tmux='TERM=screen-256color tmux -f ~/.tmux.cluster.conf'
- export GEM_HOME=/toolbox/ruby/
- export GEM_PATH=$HOME/lib/ruby
+ ;;
+ coltrane*)
+ HOSTCOLOR=blue
+ alias tmux='TERM=screen-256color tmux -f ~/.tmux.coltrane.conf'
;;
donna*)
HOSTCOLOR=red
alias tmux='TERM=screen-256color tmux -f ~/.tmux.donna.conf'
- export GEM_HOME=/toolbox/ruby/
- export GEM_PATH=$HOME/lib/ruby
;;
vicious*)
HOSTCOLOR=yellow
- alias tmux='TERM=screen-256color tmux -f ~/.tmux.vicious.conf'
- export GEM_HOME=/toolbox/ruby/
- export GEM_PATH=$HOME/lib/ruby
- ;;
- 2pac*)
- HOSTCOLOR=green
- alias tmux='TERM=screen-256color tmux -f ~/.tmux.vicious.conf'
- export GEM_HOME=$HOME/lib/ruby/
- export GEM_PATH=/toolbox/ruby
;;
x)
HOSTCOLOR=magenta
@@ -108,12 +97,15 @@ esac
case `hostname` in
2pac*|CLuster|coltrane*|donna*|vicious*)
+ export GEM_HOME=/toolbox/ruby/
+ export GEM_PATH=/toolbox/ruby
export PYTHONPATH=$PYTHONPATH:/toolbox/python/lib/python2.7/site-packages
export PATH=~/vim/bin:/toolbox/scripts:/opt/java/bin/:/toolbox/ruby/bin/:$PATH
export JAVA_HOME=/usr/lib/jvm/java-6-sun/ # debian systems
+ alias tmux='TERM=screen-256color tmux -f ~/.tmux.vicious.conf'
PROMPT="[%m:%~]%{$fg[$HOSTCOLOR]%}%B%%%b%{$reset_color%} "
;;
- *)
+ x)
PROMPT="[%~]%{$fg[magenta]%}$B%%%b%{$reset_color%} "
;;
esac