Skip to content
Browse files

Fixed the open alias

  • Loading branch information...
1 parent f224d63 commit 0aa02f67770eb309fb1bc3b662d898170f1e743f @derekwyatt committed Mar 17, 2012
Showing with 3 additions and 10 deletions.
  1. +3 −10 zshrc
View
13 zshrc
@@ -25,8 +25,11 @@ bindkey -M viins 'jj' vi-cmd-mode
unsetopt nomatch
if [ $(uname) = Darwin ]; then
+ alias gg="mvim --remote-silent"
export PATH=.:~/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
else
+ alias gg="gvim --remote-silent"
+ alias open=gnome-open
export PATH=.:buildutil:/home/dwyatt/local/bin:/home/dwyatt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/qnx650/host/linux/x86/usr/bin:/etc/qnx/bin
fi
@@ -44,15 +47,6 @@ if which dircolors > /dev/null; then
alias egrep='egrep --color=auto'
fi
-function gg
-{
- if uname | grep -q Darwin; then
- mvim --remote-silent $@
- else
- gvim --remote-silent $@
- fi
-}
-
function eecho
{
echo $@ 1>&2
@@ -184,7 +178,6 @@ alias swps='find . -name .\*.sw[op]'
alias rmstd='xargs rm -vf'
alias xag='xargs -0 egrep'
-alias open=gnome-open
alias sc=screen
alias scl="screen -list"

0 comments on commit 0aa02f6

Please sign in to comment.
Something went wrong with that request. Please try again.