summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Type/_dict_words2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 74ef69eb8..ed3861f48 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-08 Clint Adams <clint@zsh.org>
+
+ * Matt Zimmerman: 16590: Completion/Unix/Type/_dict_words:
+ use a prefix match instead of a "fuzzy-exact" match.
+
2002-02-07 Sven Wischnowsky <wischnow@zsh.org>
* 16582: Src/Zle/computil.c: fix for displaying matches in
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}