diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-10-12 08:28:26 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-10-12 08:28:26 +0000 |
commit | f23b23e8a31f06fe738b6b2deef2bc33bbe45eac (patch) | |
tree | c9dab021d28081ef47a3544afa38f8f44e30a4f0 /Completion | |
parent | 17e2003c5cf616aba4ab1779088062e10a6da40e (diff) | |
download | zsh-f23b23e8a31f06fe738b6b2deef2bc33bbe45eac.tar.gz zsh-f23b23e8a31f06fe738b6b2deef2bc33bbe45eac.tar.xz zsh-f23b23e8a31f06fe738b6b2deef2bc33bbe45eac.zip |
remove possibility for func() entries in tag-order style, can be done using zstyle -e (12974)
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Core/_sort_tags | 19 | ||||
-rw-r--r-- | Completion/Core/_tags | 5 |
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 |