mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
deal with multiline commands which have flags
Fixes #3758
(cherry picked from commit 176a291ed2
)
This commit is contained in:
parent
0297e5a105
commit
c9a409dcf3
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ function edit_command_buffer --description 'Edit the command buffer in an extern
|
|||
if test $status -eq 0 -a -s $f
|
||||
# Set the command to the output of the edited command and move the cursor to the
|
||||
# end of the edited command.
|
||||
commandline -r (cat $f)
|
||||
commandline -r -- (cat $f)
|
||||
commandline -C 999999
|
||||
else
|
||||
echo
|
||||
|
|
Loading…
Reference in a new issue