From 55b74b95676e4b901eead7eb6ef83b2ff556646f Mon Sep 17 00:00:00 2001 From: Candifloss Date: Thu, 16 Jul 2026 22:26:29 +0530 Subject: [PATCH] command-not-found handler - No more lags upon command-not-found --- functions/fish_command_not_found.fish | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 functions/fish_command_not_found.fish diff --git a/functions/fish_command_not_found.fish b/functions/fish_command_not_found.fish new file mode 100644 index 0000000..02b64d1 --- /dev/null +++ b/functions/fish_command_not_found.fish @@ -0,0 +1,4 @@ +function fish_command_not_found --description "Minimal command-not-found handler" + printf "fish: %s: command not found\n" $argv[1] >&2 + return 127 +end \ No newline at end of file