diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-25 09:53:18 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-25 09:53:18 +0000 |
commit | 39b2b5eb2a3a1889e78eb2b3f101f2c529c5bf03 (patch) | |
tree | a81c50993f5d3a288524f30e45abca7ecf60fec1 /Completion/Core/_path_files | |
parent | 6785dcb5c920b6be812b4d1a70ce53ed47ff2f30 (diff) | |
download | zsh-39b2b5eb2a3a1889e78eb2b3f101f2c529c5bf03.tar.gz zsh-39b2b5eb2a3a1889e78eb2b3f101f2c529c5bf03.tar.xz zsh-39b2b5eb2a3a1889e78eb2b3f101f2c529c5bf03.zip |
zsh-workers/9870
Diffstat (limited to 'Completion/Core/_path_files')
-rw-r--r-- | Completion/Core/_path_files | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files index 892450f53..60a266482 100644 --- a/Completion/Core/_path_files +++ b/Completion/Core/_path_files @@ -36,7 +36,7 @@ if (( $#prepaths )); then if [[ "$tmp1[1]" = '(' ]]; then prepaths=( ${^=tmp1[2,-2]%/}/ ) elif [[ "$tmp1[1]" = '/' ]]; then - prepaths=( "$tmp1/" ) + prepaths=( "${tmp1%/}/" ) else prepaths=( ${(P)^tmp1%/}/ ) (( ! $#prepaths )) && prepaths=( ${tmp1%/}/ ) |