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/_list6
1 files changed, 1 insertions, 5 deletions
diff --git a/Completion/Core/_list b/Completion/Core/_list
index 803da2f71..ea2ed36aa 100644
--- a/Completion/Core/_list
+++ b/Completion/Core/_list
@@ -4,11 +4,7 @@
 # insert possible completions only after the list has been shown at
 # least once.
 
-local pre suf curcontext="$curcontext" expr
-
-# Probably set initial context.
-
-[[ -z "$curcontext" ]] && curcontext=':list'
+local pre suf curcontext="${curcontext}:list" expr
 
 # Get the strings to compare.