Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixing multiple files

  • Loading branch information...
commit c4d2c7d41238183558119d4a0ca52571bbd7329a 1 parent d721035
Mike Cravey authored

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

  1. +3 3 bin/e
6 bin/e
@@ -14,9 +14,9 @@
14 14 # $ e /usr/local
15 15 # # => opens the specified directory in your editor
16 16
17   -if test "$1" == ""
  17 +if [ "$#" -gt 0 ]
18 18 then
19   - $($EDITOR -n .)
  19 + $($EDITOR -n $@)
20 20 else
21   - $($EDITOR -n $1)
  21 + $($EDITOR -n .)
22 22 fi

0 comments on commit c4d2c7d

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