mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Remove interactive-only completion hacks
I don't think these characters cause problems in filenames?
This commit is contained in:
parent
ab4606430e
commit
7e5af914be
3 changed files with 2 additions and 8 deletions
1
share/completions/!.fish
Normal file
1
share/completions/!.fish
Normal file
|
@ -0,0 +1 @@
|
||||||
|
complete ! --wraps not
|
1
share/completions/[.fish
Normal file
1
share/completions/[.fish
Normal file
|
@ -0,0 +1 @@
|
||||||
|
complete [ --wraps test
|
|
@ -128,14 +128,6 @@ end" >$__fish_config_dir/config.fish
|
||||||
complete -x -p "/etc/init.d/*" -a reload --description 'Reload service configuration'
|
complete -x -p "/etc/init.d/*" -a reload --description 'Reload service configuration'
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
|
||||||
# We want to show our completions for the [ (test) builtin, but
|
|
||||||
# we don't want to create a [.fish. test.fish will not be loaded until
|
|
||||||
# the user tries [ interactively.
|
|
||||||
#
|
|
||||||
complete -c [ --wraps test
|
|
||||||
complete -c ! --wraps not
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Only a few builtins take filenames; initialize the rest with no file completions
|
# Only a few builtins take filenames; initialize the rest with no file completions
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue