about summary refs log tree commit diff
path: root/Completion/Unix/Type/_path_files
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2011-05-27 14:36:33 +0000
committerMikael Magnusson <mikachu@gmail.com>2011-05-27 14:36:33 +0000
commit3214cf0a74976e8b8d2b5dc1013666d7b9b95a9a (patch)
tree1ce0fe48b926c483fd119931be12e1b0dc3d2faa /Completion/Unix/Type/_path_files
parent2b2ad86b137b2fbcd5fe8456fb128607bbe3c7e6 (diff)
downloadzsh-3214cf0a74976e8b8d2b5dc1013666d7b9b95a9a.tar.gz
zsh-3214cf0a74976e8b8d2b5dc1013666d7b9b95a9a.tar.xz
zsh-3214cf0a74976e8b8d2b5dc1013666d7b9b95a9a.zip
29384: Add _comp_caller_options
Diffstat (limited to 'Completion/Unix/Type/_path_files')
-rw-r--r--Completion/Unix/Type/_path_files2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files
index 1c272baba..858fe3f74 100644
--- a/Completion/Unix/Type/_path_files
+++ b/Completion/Unix/Type/_path_files
@@ -16,7 +16,7 @@ local -a match mbegin mend
 # The later test looks for an outstanding quote.
 if _have_glob_qual $PREFIX; then
    compset -p ${#match[1]}
-   if [[ -o extendedglob ]] && compset -P '\#'; then
+   if [[ $_comp_caller_options[extendedglob] == on ]] && compset -P '\#'; then
      _globflags
    else
      _globquals