From f50dfba2f26a90966a53ba9a8cd43f322ba0a14c Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Fri, 8 Feb 2002 08:30:09 +0000 Subject: 16590: use a prefix match instead of a "fuzzy-exact" match. --- Completion/Unix/Type/_dict_words | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix/Type') 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} -- cgit 1.4.1