summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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