summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:55:17 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:55:17 +0000
commitdf01173ce9654933898aa7d5337fa970aedd66b5 (patch)
treef98b0553c488f9c71dac6b348da7a122fd63cdc2
parent1701ecb381591c760ea3eceaa288d472a7c58576 (diff)
downloadzsh-df01173ce9654933898aa7d5337fa970aedd66b5.tar.gz
zsh-df01173ce9654933898aa7d5337fa970aedd66b5.zip
moved to Completion/Unix/Command/_look
-rw-r--r--Completion/User/_look21
1 files changed, 0 insertions, 21 deletions
diff --git a/Completion/User/_look b/Completion/User/_look
deleted file mode 100644
index e6c77a45e..000000000
--- a/Completion/User/_look
+++ /dev/null
@@ -1,21 +0,0 @@
-#compdef look
-
-local curcontext="$curcontext" state line
-typeset -A opt_args
-
-_arguments -C -s \
- '-t+[termination character]:termination character:' \
- '-f[case insensitive]' \
- '-d[dictionary order]' \
- ':string:->string' \
- ':dictionary file:_files' && return 0
-
-case "$state" in
-string)
- if [[ -n "$PREFIX" ]]; then
- _wanted values expl 'word prefix' compadd - $(_call values $words[1] $PREFIX)
- else
- _message 'word prefix'
- fi
- ;;
-esac