From e102702cd5c2372a248a9ddadad4dedeb7c55e8f Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Tue, 2 May 2000 08:14:28 +0000 Subject: completion doc fixes and cleanup; _sort_tags updated (11047) --- Completion/Core/_sort_tags | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) (limited to 'Completion/Core') 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 -- cgit 1.4.1