about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Core/_sort_tags19
-rw-r--r--Completion/Core/_tags5
2 files changed, 0 insertions, 24 deletions
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