diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2009-01-29 17:58:30 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2009-01-29 17:58:30 +0000 |
| commit | c53972be2626a1754becccf9246d7a2e88f008af (patch) | |
| tree | 9e3d14868befbc2ba11463e347837a02488eaf4c /Completion | |
| parent | Ingmar Vanhassel: 26469: complete "git clone --verbose". (diff) | |
| download | zsh-c53972be2626a1754becccf9246d7a2e88f008af.tar zsh-c53972be2626a1754becccf9246d7a2e88f008af.tar.gz zsh-c53972be2626a1754becccf9246d7a2e88f008af.tar.bz2 zsh-c53972be2626a1754becccf9246d7a2e88f008af.tar.lz zsh-c53972be2626a1754becccf9246d7a2e88f008af.tar.xz zsh-c53972be2626a1754becccf9246d7a2e88f008af.tar.zst zsh-c53972be2626a1754becccf9246d7a2e88f008af.zip | |
26485: _path_files with accept-exact-dirs could get path order wrong
Diffstat (limited to 'Completion')
| -rw-r--r-- | Completion/Unix/Type/_path_files | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files index 2e9e943b5..71969d37b 100644 --- a/Completion/Unix/Type/_path_files +++ b/Completion/Unix/Type/_path_files @@ -578,11 +578,11 @@ for prepath in "$prepaths[@]"; do if [[ "$tpre" = */* ]]; then tmp2="${cpre}${tpre%%/*}" - PREFIX="${donepath}${linepath}${tmp2}" + PREFIX="${linepath}${donepath}${tmp2}" SUFFIX="/${tpre#*/}${tsuf#*/}" else tmp2="${cpre}${tpre}" - PREFIX="${donepath}${linepath}${tmp2}" + PREFIX="${linepath}${donepath}${tmp2}" SUFFIX="${tsuf}" fi |
