summary refs log tree commit diff
path: root/.zsh/aliases.zsh
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2014-05-15 23:14:40 -0400
committerJune McEnroe <june@causal.agency>2014-05-15 23:14:40 -0400
commitcbb5e95592cdebe545874eb0de881cb4194315ae (patch)
tree91be0504afe61c965848cd1fcbeae434c3878148 /.zsh/aliases.zsh
parentHeavily comment .vimrc (diff)
downloadsrc-cbb5e95592cdebe545874eb0de881cb4194315ae.tar.gz
src-cbb5e95592cdebe545874eb0de881cb4194315ae.zip
Add OS X specific shell configurations
Diffstat (limited to '')
-rw-r--r--.zsh/aliases.zsh12
1 files changed, 7 insertions, 5 deletions
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)'