On Mon, 23 Apr 2007, Junio C Hamano wrote:
"Ron Parker" <ron.parker@xxxxxxxxx> writes:
When using bash_completion, 'cd' echos the target directory name to
standard
out. If 'cd' participates in a pipe whose output is compared against an
expected value, this causes a false failure report. Pipe cd's stdout to
/dev/null in these cases.
This is way too ugly.
Are you sure bash-completion is the culprit, not your CDPATH?
even with bash-completion _and_ CDPATH I only get a print when changing to
a directory in CDPATH not the current directory ... perhaps an alias set
for cd?
(I'm not the only one who thinks CDPATH is ick am I? :S)
--
Julian
---
BOFH Excuse #350:
paradigm shift...without a clutch
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html