Browse files

Fixing multiple files

  • Loading branch information...
1 parent d721035 commit c4d2c7d41238183558119d4a0ca52571bbd7329a @craveytrain committed Apr 25, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 bin/e
View
6 bin/e
@@ -14,9 +14,9 @@
# $ e /usr/local
# # => opens the specified directory in your editor
-if test "$1" == ""
+if [ "$#" -gt 0 ]
then
- $($EDITOR -n .)
+ $($EDITOR -n $@)
else
- $($EDITOR -n $1)
+ $($EDITOR -n .)
fi

0 comments on commit c4d2c7d

Please sign in to comment.