From a32f3b2ffc88bf4e3294bc81c2d77d87134d810b Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 14 Sep 2009 08:40:48 +0000 Subject: Greg Klanderman: 27262: prefixes incorrect with accept-exact-dirs --- Completion/Unix/Type/_path_files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix/Type') diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files index 2e851058f..acc11542d 100644 --- a/Completion/Unix/Type/_path_files +++ b/Completion/Unix/Type/_path_files @@ -359,7 +359,7 @@ for prepath in "$prepaths[@]"; do tmp1=$match[1] tpre=$match[2] while true; do - if [[ -d $donepath$tmp1 ]]; then + if [[ -d $prepath$realpath$donepath$tmp1 ]]; then donepath=$donepath$tmp1/ pre=$tpre break -- cgit 1.4.1