From 47f3320e241d45884f3e1f177e7987d83c3ebfb0 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Tue, 24 Jun 2014 22:59:23 +0200 Subject: zshrc --- .zshrc | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index cb00614..17946ad 100644 --- a/.zshrc +++ b/.zshrc @@ -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) -- cgit v1.2.3