From c4b4e900314a06a2eca1ac1d02e766b50bad24e5 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Thu, 21 Nov 2024 08:55:45 +0100 Subject: [PATCH] Fix file completions for builtin fish_indent --- share/functions/__fish_config_interactive.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index 43fb2a6c4..7148a74c7 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -131,7 +131,7 @@ end" >$__fish_config_dir/config.fish # # Only a few builtins take filenames; initialize the rest with no file completions # - complete -c(builtin -n | string match -rv '(\.|:|source|cd|contains|count|echo|exec|printf|random|realpath|set|\\[|test|for)') --no-files + complete -c(builtin -n | string match -rv '(\.|:|source|cd|contains|count|echo|exec|fish_indent|printf|random|realpath|set|\\[|test|for)') --no-files # Reload key bindings when binding variable change function __fish_reload_key_bindings -d "Reload key bindings when binding variable change" --on-variable fish_key_bindings