diff options
author | Clint Adams <clint@users.sourceforge.net> | 2002-02-08 08:30:09 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2002-02-08 08:30:09 +0000 |
commit | f50dfba2f26a90966a53ba9a8cd43f322ba0a14c (patch) | |
tree | 72f9adf121182ea6651b4e686c9b4948b1cd44ee /Completion | |
parent | 9e0f74f07b3cb95cc6aacc413b1ac1373c5fcf9a (diff) | |
download | zsh-f50dfba2f26a90966a53ba9a8cd43f322ba0a14c.tar.gz zsh-f50dfba2f26a90966a53ba9a8cd43f322ba0a14c.tar.xz zsh-f50dfba2f26a90966a53ba9a8cd43f322ba0a14c.zip |
16590: use a prefix match instead of a "fuzzy-exact" match.
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Unix/Type/_dict_words | 2 |
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} |