From 38ac7693e9b320aa21a678815daebea8c3b120ac Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Wed, 19 Sep 2018 18:24:39 -0500 Subject: [PATCH] Escape command name in __fish_default_command_not_found_handler Closes #5102 --- share/config.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/config.fish b/share/config.fish index 06be25adb..cdbaf1d8a 100644 --- a/share/config.fish +++ b/share/config.fish @@ -12,7 +12,7 @@ or set -g __fish_added_user_paths # Create the default command_not_found handler # function __fish_default_command_not_found_handler - echo "fish: Unknown command '$argv'" >&2 + printf "fish: Unknown command '%s'\n" (string escape $argv) >&2 end if status --is-interactive