mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-14 06:43:18 +08:00
Fix file completions for builtin fish_indent
This commit is contained in:
parent
c12f853db2
commit
c4b4e90031
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user