diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Zsh/Type/_command_names | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index 3fc972b16..70c2bd687 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/Completion/Zsh/Type/_command_names b/Completion/Zsh/Type/_command_names index 24933c234..d9fc62dfe 100644 --- a/Completion/Zsh/Type/_command_names +++ b/Completion/Zsh/Type/_command_names @@ -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\- =["' ) |