From 1f2e4f47e6c0a2ac34fbb4626112305c66e23d05 Mon Sep 17 00:00:00 2001 From: ianmacd <> Date: Sun, 6 Jan 2002 03:21:04 +0000 Subject: [PATCH] _cd() was no longer completing relative to $CDPATH --- bash_completion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash_completion b/bash_completion index 3e24aa59..b75ed219 100644 --- a/bash_completion +++ b/bash_completion @@ -2,7 +2,7 @@ # # # @@ -1268,7 +1268,7 @@ _cd() [ ${#dirs[@]} ] && COMPREPLY=( ${COMPREPLY[@]} ${dirs[@]#$i/}) done fi - COMPREPLY=( $( compgen -d $cur ) ) + COMPREPLY=( ${COMPREPLY[@]} $( compgen -d $cur ) ) return 0 }