From 45470424f8c06293afea273025fc8a4d5ea2f66c Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 15 May 2014 23:14:40 -0400 Subject: Add OS X specific shell configurations --- .zsh/aliases.zsh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to '.zsh') diff --git a/.zsh/aliases.zsh b/.zsh/aliases.zsh index e0403e95..0608a8fb 100644 --- a/.zsh/aliases.zsh +++ b/.zsh/aliases.zsh @@ -17,15 +17,17 @@ function tunnel { } alias killlall='killall' -alias irb='ripl' +which ripl &> /dev/null && alias irb='ripl' alias l='ls' alias ll='ls' -alias ls='ls --color=auto' -alias grep='grep --color=auto' -alias rm='rm -vI' +osx || alias ls='ls --color=auto' +osx || alias grep='grep --color=auto' +osx || alias rm='rm -vI' +osx && alias rm='rm -v' -alias gvim='gvim 2> /dev/null' +osx || alias gvim='gvim 2> /dev/null' +osx && alias gvim='mvim' alias b='bundle exec' alias .env='export $(cat .env)' -- cgit 1.4.1