See https://github.com/fish-shell/fish-site/pull/112
This commit is contained in:
Fabian Boehm 2023-05-18 17:52:51 +02:00
parent a8d7d9689d
commit 8a9f57112c

View file

@ -81,7 +81,7 @@ As a more comprehensive example, here's a commented excerpt of the completions f
# The `-n`/`--condition` option takes script as a string, which it executes.
# If it returns true, the completion is offered.
# Here the condition is the `__fish_seen_subcommands_from` helper function.
# If returns true if any of the given commands is used on the commandline,
# It returns true if any of the given commands is used on the commandline,
# as determined by a simple heuristic.
# For more complex uses, you can write your own function.
# See e.g. the git completions for an example.