Permalink
Browse files

Export the EDITOR variable

  • Loading branch information...
1 parent a9624fb commit eba62c935dabd9930bce6a943d9ab07d27d35647 @weikinhuang committed Mar 7, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 .bashrc
View
@@ -71,6 +71,7 @@ unset file
# set $EDITOR to vi(m) if not already set
[[ -z $EDITOR ]] && EDITOR=$(type vim &> /dev/null && echo vim || echo vi)
+export EDITOR=$EDITOR
# write to .bash_history after each command
__push_prompt_command 'history -a'

0 comments on commit eba62c9

Please sign in to comment.