about summary refs log tree commit diff
path: root/Completion/Commands/_correct_word
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-10-19 08:58:17 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-10-19 08:58:17 +0000
commite14a02f4408039ce7aa46ea085a7cf9156e648d0 (patch)
treec542746463209137959b70c977e7d86268129de4 /Completion/Commands/_correct_word
parent16d7e31ae81bdd87dd90ce91d9072006e43f6596 (diff)
downloadzsh-e14a02f4408039ce7aa46ea085a7cf9156e648d0.tar.gz
zsh-e14a02f4408039ce7aa46ea085a7cf9156e648d0.tar.xz
zsh-e14a02f4408039ce7aa46ea085a7cf9156e648d0.zip
simplify setting standard completion system options using $_comp_options (13036)
Diffstat (limited to 'Completion/Commands/_correct_word')
-rw-r--r--Completion/Commands/_correct_word3
1 files changed, 1 insertions, 2 deletions
diff --git a/Completion/Commands/_correct_word b/Completion/Commands/_correct_word
index d027dc0e4..c0b03dd02 100644
--- a/Completion/Commands/_correct_word
+++ b/Completion/Commands/_correct_word
@@ -7,8 +7,7 @@
 # If configurations keys with the prefix `correctword_' are
 # given they override those starting with `correct_'.
 
-setopt localoptions nullglob rcexpandparam extendedglob unset
-unsetopt markdirs globsubst shwordsplit shglob ksharrays cshnullglob
+setopt localoptions $_comp_options
 
 local curcontext="$curcontext"