mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08:00
docs: File completion can indeed be enabled again
[ci skip]
This commit is contained in:
parent
8a5eda3e9b
commit
eb7837113f
@ -483,11 +483,10 @@ As a simple example, here's an excerpt of the completions for systemd's ``timeda
|
|||||||
|
|
||||||
# Disable file completions for the entire command
|
# Disable file completions for the entire command
|
||||||
# because it does not take files anywhere
|
# because it does not take files anywhere
|
||||||
# Note that this can't be undone,
|
# Note that this can be undone by using "-F".
|
||||||
# so it's often better to only disable it for certain completions.
|
|
||||||
#
|
#
|
||||||
# File completions also need to be disabled
|
# File completions also need to be disabled
|
||||||
# if you wish to offer a certain set of files (e.g. just directories).
|
# if you want to have more control over what files are offered (e.g. just directories, or just files ending in ".mp3").
|
||||||
complete -c timedatectl -f
|
complete -c timedatectl -f
|
||||||
|
|
||||||
# This line offers the subcommands
|
# This line offers the subcommands
|
||||||
|
Loading…
x
Reference in New Issue
Block a user