Skip to content

Commit

Permalink
__fish_anyeditor: Add missing -- separator
Browse files Browse the repository at this point in the history
My $EDITOR is set to "emacs" and "-nw", which breaks this
  • Loading branch information
faho committed Jul 23, 2024
1 parent c3cf379 commit b3ed2f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/functions/__fish_anyeditor.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b3ed2f2

Please sign in to comment.