mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Fix: Call $EDITOR command with eval
This commit is contained in:
parent
970266dba6
commit
6f7f497c66
1 changed files with 1 additions and 1 deletions
|
|
@ -11,6 +11,6 @@ alias em="$EDITOR"
|
|||
# workaround b/c Emacs can only open already existing files
|
||||
function _emacs_touch_and_edit() {
|
||||
touch $*
|
||||
$EDITOR $*
|
||||
eval $EDITOR $*
|
||||
}
|
||||
alias emt=_emacs_touch_and_edit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue