diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Completion/Unix/Type/_path_files | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 5e25016ca..e7ea69276 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2008-06-04 Peter Stephenson <pws@csr.com> + * unposted: Completion/Unix/Type/_path_files: another typo. + * 25130 slightly tweaked for typos: Completion/Unix/Type/_path_files: changes to use -U flag to compadd so that spelling corrections in non-final diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files index a3e19ac53..6890379c5 100644 --- a/Completion/Unix/Type/_path_files +++ b/Completion/Unix/Type/_path_files @@ -595,7 +595,7 @@ for prepath in "$prepaths[@]"; do # back up the path. tmp1=("${(@)tmp1%%/*}") _list_files tmp1 "$prepath$realpath$testpath" - compadd -U -Qf "$mopts[@]" -p "$IPREFIX$linepath$tmp2" + compadd -U -Qf "$mopts[@]" -p "$IPREFIX$linepath$tmp2" \ -s "/${tmp3#*/}$ISUFFIX" \ -W "$prepath$realpath$testpath" \ "$pfxsfx[@]" -M "r:|/=* r:|=*" \ |