Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed the open alias

  • Loading branch information...
commit 0aa02f67770eb309fb1bc3b662d898170f1e743f 1 parent f224d63
Derek Wyatt authored

Showing 1 changed file with 3 additions and 10 deletions. Show diff stats Hide diff stats

  1. +3 10 zshrc
13 zshrc
@@ -25,8 +25,11 @@ bindkey -M viins 'jj' vi-cmd-mode
25 25 unsetopt nomatch
26 26
27 27 if [ $(uname) = Darwin ]; then
  28 + alias gg="mvim --remote-silent"
28 29 export PATH=.:~/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
29 30 else
  31 + alias gg="gvim --remote-silent"
  32 + alias open=gnome-open
30 33 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
31 34 fi
32 35
@@ -44,15 +47,6 @@ if which dircolors > /dev/null; then
44 47 alias egrep='egrep --color=auto'
45 48 fi
46 49
47   -function gg
48   -{
49   - if uname | grep -q Darwin; then
50   - mvim --remote-silent $@
51   - else
52   - gvim --remote-silent $@
53   - fi
54   -}
55   -
56 50 function eecho
57 51 {
58 52 echo $@ 1>&2
@@ -184,7 +178,6 @@ alias swps='find . -name .\*.sw[op]'
184 178 alias rmstd='xargs rm -vf'
185 179 alias xag='xargs -0 egrep'
186 180
187   -alias open=gnome-open
188 181 alias sc=screen
189 182 alias scl="screen -list"
190 183

0 comments on commit 0aa02f6

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