mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 12:21:19 -03:00
__fish_anyeditor: Add missing -- separator
My $EDITOR is set to "emacs" and "-nw", which breaks this
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user