docs: set multiple patterns for ZSH_AUTOSUGGEST_COMPLETION_IGNORE

This commit is contained in:
Martin Plattner 2020-04-12 21:10:11 +02:00 committed by GitHub
parent ae315ded4d
commit 236bbab194
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,7 +95,7 @@ Set `ZSH_AUTOSUGGEST_HISTORY_IGNORE` to a glob pattern to prevent offering sugge
### Skipping completion suggestions for certain cases
Set `ZSH_AUTOSUGGEST_COMPLETION_IGNORE` to a glob pattern to prevent offering completion suggestions when the buffer matches that pattern. For example, set it to `"git *"` to disable completion suggestions for git subcommands.
Set `ZSH_AUTOSUGGEST_COMPLETION_IGNORE` to a glob pattern to prevent offering completion suggestions when the buffer matches that pattern. For example, set it to `"git *"` to disable completion suggestions for git subcommands. Multiple patterns are separated by `|`, eg. `rsync *| scp *` to disable (slow) completions for remote paths.
**Note:** This only affects the `completion` suggestion strategy.