From f23b23e8a31f06fe738b6b2deef2bc33bbe45eac Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Thu, 12 Oct 2000 08:28:26 +0000 Subject: remove possibility for func() entries in tag-order style, can be done using zstyle -e (12974) --- Completion/Core/_sort_tags | 19 ------------------- Completion/Core/_tags | 5 ----- 2 files changed, 24 deletions(-) delete mode 100644 Completion/Core/_sort_tags (limited to 'Completion/Core') diff --git a/Completion/Core/_sort_tags b/Completion/Core/_sort_tags deleted file mode 100644 index d765c0d12..000000000 --- a/Completion/Core/_sort_tags +++ /dev/null @@ -1,19 +0,0 @@ -#autoload - -comptry -m '(|*-)argument-* (|*-)option-* values' -comptry options - -# Some silly examples commented out: -# -# case "$curcontext" in -# *:*:*:kill:*) -# comptry processes -# return 1 # this return ensures that we use only processes -# ;; -# *:*:*:-command-*) -# comptry commands functions -# comptry builtins aliases -# ;; # no return, reserved-words and params after this -# esac - -return 0 diff --git a/Completion/Core/_tags b/Completion/Core/_tags index 5a1015356..2afec2036 100644 --- a/Completion/Core/_tags +++ b/Completion/Core/_tags @@ -48,11 +48,6 @@ if (( $# )); then for tag in $order; do case $tag in -) nodef=yes;; - *\(\)) if ! "${${tag%%[ ]#\(\)}##[ ]#}" "$@"; then - nodef=yes - break - fi - ;; \!*) comptry "${(@)argv:#(${(j:|:)~${=~tag[2,-1]}})}";; ?*) comptry -m "$tag";; esac -- cgit 1.4.1