diff options
Diffstat (limited to 'Completion/Unix')
-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 |