about summary refs log tree commit diff
path: root/Completion/Core/_list
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Core/_list')
-rw-r--r--Completion/Core/_list2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Core/_list b/Completion/Core/_list
index 28a5161d1..25dcdfe8f 100644
--- a/Completion/Core/_list
+++ b/Completion/Core/_list
@@ -43,7 +43,7 @@ fi
 # Should we only show a list now?
 
 if [[ ( -z "$compconfig[list_condition]" ||
-        "${(e):-\$[$compconfig[expand_glob]]}" -eq 1 ) &&
+        "${(e):-\$[$compconfig[list_condition]]}" -eq 1 ) &&
       ( "$pre" != "$_list_prefix" || "$suf" != "$_list_suffix" ) ]]; then
 
   # Yes. Tell the completion code about it and save the new values