mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08: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
|
@ -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 New Issue
Block a user