about summary refs log tree commit diff
path: root/Completion/Commands/_expand_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/_expand_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/_expand_word')
-rw-r--r--Completion/Commands/_expand_word3
1 files changed, 1 insertions, 2 deletions
diff --git a/Completion/Commands/_expand_word b/Completion/Commands/_expand_word
index 895695676..45173a4ba 100644
--- a/Completion/Commands/_expand_word
+++ b/Completion/Commands/_expand_word
@@ -2,8 +2,7 @@
 
 # Simple completion front-end implementing expansion.
 
-setopt localoptions nullglob rcexpandparam extendedglob unset
-unsetopt markdirs globsubst shwordsplit shglob ksharrays cshnullglob
+setopt localoptions $_comp_options
 
 local curcontext="$curcontext"