diff options
Diffstat (limited to 'Completion/Commands')
-rw-r--r-- | Completion/Commands/_correct_word | 20 |
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 |