1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00

users/18219: compadd -Q for builtins, aliases, and reserved words

This commit is contained in:
Barton E. Schaefer 2013-12-15 13:47:09 -08:00
parent a51b891437
commit 71038e31db
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2013-12-15 Barton E. Schaefer <schaefer@zsh.org>
* users/18219: Completion/Zsh/Type/_command_names: compadd -Q for
builtins, aliases, and reserved words to preserve special chars
2013-12-14 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: increment version to 5.0.3-dev-0 to avoid confusion

View file

@ -27,11 +27,11 @@ else
[[ "$1" = - ]] && shift
defs=( "$defs[@]"
'builtins:builtin command:compadd -k builtins'
'builtins:builtin command:compadd -Qk builtins'
"functions:shell function:compadd -k 'functions$ffilt'"
'aliases:alias:compadd -k aliases'
'aliases:alias:compadd -Qk aliases'
'suffix-aliases:suffix alias:_suffix_alias_files'
'reserved-words:reserved word:compadd -k reswords'
'reserved-words:reserved word:compadd -Qk reswords'
'jobs:: _jobs -t'
'parameters:: _parameters -g "^*readonly*" -qS= -r "\n\t\- =["'
)