about summary refs log tree commit diff
path: root/Completion/Unix/Type/_dict_words
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Type/_dict_words')
-rw-r--r--Completion/Unix/Type/_dict_words2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Type/_dict_words b/Completion/Unix/Type/_dict_words
index 44448e8f8..770319036 100644
--- a/Completion/Unix/Type/_dict_words
+++ b/Completion/Unix/Type/_dict_words
@@ -4,7 +4,7 @@ local dict dictresult dictwords j expl
 
 [[ -z $words[CURRENT] ]] && return 1
 
-dictresults=(${${(f)${"$(dict -m $words[CURRENT])":gs/    
+dictresults=(${${(f)${"$(dict -m -s prefix $words[CURRENT])":gs/    
   / /}}:#[0-9]*matches found})
 
 for j in ${dictresults}