Commits

Nicola Paolucci  committed 685185e

[bashrc] can run gvim alias with more than 1 file

  • Participants
  • Parent commits 0aa6844

Comments (0)

Files changed (1)

   #open macvim
   function gvim {
     if [ -e $1 ];
-      then open -a MacVim $1;
-      else touch $1 && open -a MacVim $1; 
+      then open -a MacVim $@;
+      else touch $@ && open -a MacVim $@; 
     fi
   }