From e4d9d1030639440d8b084991a3c4c281757e3b92 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 6 Jan 2000 00:07:32 +0000 Subject: zsh-workers/9225 --- Completion/Core/_path_files | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Completion/Core/_path_files') diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files index 415a55acb..4445ed3b4 100644 --- a/Completion/Core/_path_files +++ b/Completion/Core/_path_files @@ -43,6 +43,8 @@ while getopts "P:S:qr:R:W:F:J:V:X:f/g:M:12n" opt; do W) tmp1="$OPTARG" if [[ "$tmp1[1]" = '(' ]]; then prepaths=( ${^=tmp1[2,-2]%/}/ ) + elif [[ "$tmp1[1]" = '/' ]]; then + prepaths=( "$tmp1/" ) else # In this case the variable should be an array, so # don't use an extra ${=...}. -- cgit 1.4.1