From 3ff53b7a2c103df22064e8c92131bf9c2faa1eba Mon Sep 17 00:00:00 2001 From: Beinsezii <39478211+Beinsezii@users.noreply.github.com> Date: Sat, 19 Apr 2025 16:00:57 -0700 Subject: [PATCH] Update external_completers.md Invert fish quotes to prevent issues where the output is a single double quote, breaking the string substitution https://github.com/nushell/nushell.github.io/issues/1881 --- cookbook/external_completers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/external_completers.md b/cookbook/external_completers.md index 37248648eff..bb4cfb98a97 100644 --- a/cookbook/external_completers.md +++ b/cookbook/external_completers.md @@ -20,7 +20,7 @@ This completer will use [the fish shell](https://fishshell.com/) to handle compl ```nu let fish_completer = {|spans| - fish --command $'complete "--do-complete=($spans | str join " ")"' + fish --command $"complete '--do-complete=($spans | str join ' ')'" | from tsv --flexible --noheaders --no-infer | rename value description | update value {