diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-02 08:14:28 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-02 08:14:28 +0000 |
commit | e102702cd5c2372a248a9ddadad4dedeb7c55e8f (patch) | |
tree | e6e64caeb1775d3bffdb568fbae8eadb912a0be2 /Completion | |
parent | 167c2881f55fd3130c5c21852d9a68fd9eeffd70 (diff) | |
download | zsh-e102702cd5c2372a248a9ddadad4dedeb7c55e8f.tar.gz zsh-e102702cd5c2372a248a9ddadad4dedeb7c55e8f.tar.xz zsh-e102702cd5c2372a248a9ddadad4dedeb7c55e8f.zip |
completion doc fixes and cleanup; _sort_tags updated (11047)
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Core/_sort_tags | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/Completion/Core/_sort_tags b/Completion/Core/_sort_tags index f1740511d..d765c0d12 100644 --- a/Completion/Core/_sort_tags +++ b/Completion/Core/_sort_tags @@ -1,28 +1,19 @@ #autoload -comptry arguments values +comptry -m '(|*-)argument-* (|*-)option-* values' comptry options -case "$contexts" in # Some silly examples commented out: # -# *p[bgpn]m*) # change the order for file-completion -# comptry globbed-files directories -# comptry all-files -# ;; -# *:dvips,-o*) # automatic context set by _arguments -# comptry all-files -# return -# ;; -# *:kill,*) +# case "$curcontext" in +# *:*:*:kill:*) # comptry processes -# return # this return ensures that we use only processes +# return 1 # this return ensures that we use only processes # ;; -*) - comptry globbed-files - comptry directories - comptry all-files - ;; -esac +# *:*:*:-command-*) +# comptry commands functions +# comptry builtins aliases +# ;; # no return, reserved-words and params after this +# esac -comptry "$@" +return 0 |