Fix: Call $EDITOR command with eval

This commit is contained in:
Jochen Lillich 2011-06-21 21:16:47 +02:00
commit 6f7f497c66

View file

@ -11,6 +11,6 @@ alias em="$EDITOR"
# workaround b/c Emacs can only open already existing files # workaround b/c Emacs can only open already existing files
function _emacs_touch_and_edit() { function _emacs_touch_and_edit() {
touch $* touch $*
$EDITOR $* eval $EDITOR $*
} }
alias emt=_emacs_touch_and_edit alias emt=_emacs_touch_and_edit