diff options
author | Patrick Simianer <p@simianer.de> | 2018-01-01 19:41:36 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2018-01-01 19:41:36 +0100 |
commit | fe0063deaaefe81798842376f468a79b9b76889e (patch) | |
tree | 843bc78fd17ce9a9e3ed661562de7e3c8ca1252e /zsh | |
parent | 41c442d346ab4b2fac63543fb7724f37adfb38eb (diff) | |
parent | 087c3cc66842919c2d067fae3e979c6e9dd89dda (diff) |
Merge branch 'master' of github.com:pks/dotfiles
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zshrc | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -70,7 +70,7 @@ case $_HOST_TYPE in esac # get a white background in mutt -COLORFGBG="default;default" +#COLORFGBG="White;Black" # ############################################################################# # terminal @@ -164,7 +164,7 @@ esac # ############################################################################# case `hostname` in - 2pac|CLuster|node*|gpu*|coltrane|donna|vicious|lemmy) + 2pac|CLuster|coltrane|donna|vicious|lemmy) umask u=rwx,g=rwx,o=rx alias tmux="tmux -f ~/.tmux.`hostname`.conf" ;; @@ -260,16 +260,17 @@ diff () if [[ -x $(which colordiff 2>/dev/null) ]]; then colordiff "$@" else - diff "$@" + command diff "$@" fi } irb () { - if [[ -x $(which pry 2>/dev/null) ]]; then + which pry &>/dev/null + if [[ $? -eq 0 ]]; then pry "$@" else - irb "$@" + command irb "$@" fi } |