summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--_zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/_zshrc b/_zshrc
index 6e62d440..18ce4bcf 100644
--- a/_zshrc
+++ b/_zshrc
@@ -140,6 +140,10 @@ alias m='make -j4'
 alias killlall='killall'
 alias irb='ripl'
 
+function gvim {
+    [ "$@" ] && =gvim --remote-silent $@ || =gvim
+}
+
 function prompt_char {
 	#[ -e ".git" ] && echo '+' && return
 	#git branch &> /dev/null && echo '+' && return