mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
__fish_anyeditor: Add missing -- separator
My $EDITOR is set to "emacs" and "-nw", which breaks this
This commit is contained in:
parent
c3cf3792f3
commit
b3ed2f215b
1 changed files with 1 additions and 1 deletions
|
@ -10,6 +10,6 @@ function __fish_anyeditor --description "Print a editor to use, or an error mess
|
|||
(_ 'Please set VISUAL or EDITOR to your preferred editor.')
|
||||
return 1
|
||||
end
|
||||
string join \n $editor
|
||||
string join \n -- $editor
|
||||
return 0
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue