mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Revert "edit_command_buffer: Use variable-as-command"
This reverts commit 3c6844d4f4
.
See #5625.
This commit is contained in:
parent
8e60ebcd34
commit
1a3471fa7d
1 changed files with 2 additions and 2 deletions
|
@ -18,11 +18,11 @@ function edit_command_buffer --description 'Edit the command buffer in an extern
|
||||||
commandline -b >$f
|
commandline -b >$f
|
||||||
if set -q VISUAL
|
if set -q VISUAL
|
||||||
__fish_disable_bracketed_paste
|
__fish_disable_bracketed_paste
|
||||||
$VISUAL $f
|
eval $VISUAL $f
|
||||||
__fish_enable_bracketed_paste
|
__fish_enable_bracketed_paste
|
||||||
else if set -q EDITOR
|
else if set -q EDITOR
|
||||||
__fish_disable_bracketed_paste
|
__fish_disable_bracketed_paste
|
||||||
$EDITOR $f
|
eval $EDITOR $f
|
||||||
__fish_enable_bracketed_paste
|
__fish_enable_bracketed_paste
|
||||||
else
|
else
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in a new issue