Fix file completions for builtin fish_indent

This commit is contained in:
Johannes Altmanninger 2024-11-21 08:55:45 +01:00
parent c12f853db2
commit c4b4e90031

View File

@ -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