Skip to content

Commit

Permalink
e: Exec to avoid unnecessary process (micro-optimization)
Browse files Browse the repository at this point in the history
Previously:

    bash
      └─e foo
         └─vim foo

Now:

    bash
      └─vim foo
  • Loading branch information
grawity committed Apr 26, 2012
1 parent 8b5e9b4 commit 0d26c68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/e
Expand Up @@ -16,7 +16,7 @@

if test "$1" == ""
then
$EDITOR .
exec $EDITOR .
else
$EDITOR "$1"
exec $EDITOR "$1"
fi

0 comments on commit 0d26c68

Please sign in to comment.