From b3ed2f215bbc279518d4c60f4f0ba1490af53dd5 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Sat, 20 Jul 2024 16:36:20 +0200 Subject: [PATCH] __fish_anyeditor: Add missing -- separator My $EDITOR is set to "emacs" and "-nw", which breaks this --- share/functions/__fish_anyeditor.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_anyeditor.fish b/share/functions/__fish_anyeditor.fish index 2385d800e..1308af12e 100644 --- a/share/functions/__fish_anyeditor.fish +++ b/share/functions/__fish_anyeditor.fish @@ -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