From 39b2b5eb2a3a1889e78eb2b3f101f2c529c5bf03 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Fri, 25 Feb 2000 09:53:18 +0000 Subject: zsh-workers/9870 --- Completion/Core/_path_files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Core') 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%/}/ ) -- cgit 1.4.1