Skip to content

Commit

Permalink
Fixing multiple files
Browse files Browse the repository at this point in the history
  • Loading branch information
craveytrain committed Apr 25, 2012
1 parent d721035 commit c4d2c7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/e
Original file line number Diff line number Diff line change
Expand Up @@ -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.