Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make e work better

  • Loading branch information...
commit feab1bd7425641dab5c4307ba77090963e702665 1 parent 92dbc7a
@paulhammond authored
Showing with 3 additions and 2 deletions.
  1. +1 −0  bash/os/darwin.sh
  2. +2 −2 bin/e
View
1  bash/os/darwin.sh
@@ -21,4 +21,5 @@ PROMPT_COMMAND="timer_stop; $PROMPT_COMMAND"
# use textmate
export BUNDLER_EDITOR=mate
+export E_EDITOR=mate
export EDITOR='mate -w'
View
4 bin/e 100644 → 100755
@@ -16,7 +16,7 @@
if test "$1" == ""
then
- exec $EDITOR .
+ exec ${E_EDITOR:-${EDITOR:-vi}} .
else
- exec $EDITOR "$1"
+ exec ${E_EDITOR:-${EDITOR:-vi}} "$1"
fi
Please sign in to comment.
Something went wrong with that request. Please try again.