__fish_anyeditor: Add missing -- separator

My $EDITOR is set to "emacs" and "-nw", which breaks this
This commit is contained in:
Fabian Boehm 2024-07-20 16:36:20 +02:00
parent c3cf3792f3
commit b3ed2f215b

View file

@ -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