summary refs log tree commit diff
path: root/Completion/Commands
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:15:22 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:15:22 +0000
commit6c702f18c4f568832f98a915a721596af9ed8a36 (patch)
treec5e492657890b663e167129e1a068278bb2d7361 /Completion/Commands
parent402a9c0ab1cfa50b0967f8722a5bec5ff3f46e33 (diff)
downloadzsh-6c702f18c4f568832f98a915a721596af9ed8a36.tar.gz
zsh-6c702f18c4f568832f98a915a721596af9ed8a36.tar.xz
zsh-6c702f18c4f568832f98a915a721596af9ed8a36.zip
moved to Completion/Base/Widget/_correct_word
Diffstat (limited to 'Completion/Commands')
-rw-r--r--Completion/Commands/_correct_word20
1 files changed, 0 insertions, 20 deletions
diff --git a/Completion/Commands/_correct_word b/Completion/Commands/_correct_word
deleted file mode 100644
index 11b37efb1..000000000
--- a/Completion/Commands/_correct_word
+++ /dev/null
@@ -1,20 +0,0 @@
-#compdef -k complete-word \C-xc
-
-# Simple completion front-end implementing spelling correction.
-# The maximum number of errors is set quite high, and
-# the numeric prefix can be used to specify a different value.
-#
-# If configurations keys with the prefix `correctword_' are
-# given they override those starting with `correct_'.
-
-setopt localoptions ${_comp_options[@]}
-
-local curcontext="$curcontext"
-
-if [[ -z "$curcontext" ]]; then
-  curcontext="correct-word:::"
-else
-  curcontext="correct-word:${curcontext#*:}"
-fi
-
-_main_complete _correct