diff options
author | Patrick Simianer <p@simianer.de> | 2014-06-24 22:37:57 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-06-24 22:37:57 +0200 |
commit | 8d640ba5434de99dc6a9b832b4a0b716523101df (patch) | |
tree | 1558c4ae48539e5b541c867a0a9d854ed5035825 /.zshrc | |
parent | 69b7b1dccd2b1f4249beb6f89d42629d599f8326 (diff) | |
parent | 47f3320e241d45884f3e1f177e7987d83c3ebfb0 (diff) |
Merge branch 'master' of github.com:pks/dotfiles
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 15 |
1 files changed, 6 insertions, 9 deletions
@@ -15,7 +15,6 @@ zstyle ':completion:*' menu select setopt completealiases compdef mosh=ssh zstyle '*' hosts # do not use /etc/hosts -#setopt multios setopt no_multios ex () { @@ -37,7 +36,7 @@ ex () { esac else echo "'$1' is not a file!" - fi + fi } umask 0077 @@ -70,27 +69,24 @@ autoload -U colors && colors case `hostname` in 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' ;; 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' ;; vicious*) HOSTCOLOR=yellow - alias tmux='TERM=screen-256color tmux -f ~/.tmux.vicious.conf' ;; x) HOSTCOLOR=magenta - alias tmux='TERM=screen-256color tmux' + ;; + *) + HOSTCOLOR=white ;; esac @@ -100,7 +96,8 @@ case `hostname` in 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 + export JAVA_HOME=/usr/lib/jvm/java-6-sun/ # debian systems w/ sun-java6 + alias tmux="TERM=screen-256color tmux -f ~/.tmux.`hostname`.conf" PROMPT="[%m:%~]%{$fg[$HOSTCOLOR]%}%B%%%b%{$reset_color%} " ;; x) |