On Tue, Jan 21, 2014 at 8:16 AM, Elliott Forney <elliott.for...@gmail.com>wrote:

> I find it a little unpleasant that cd echoes the new working directory
> when CDPATH is used to locate the new directory (I already have the
> working directory in my prompt).  I understand that this is behavior
> is mandated by POSIX but I wonder if we could have an option that
> disables this.
>

+1 and `cd -' has the similar problem.

>
> Maybe if the `cd' builtin had an option, say `-q', that would cause it
> to be quit if CDPATH is used.  Then, I could simply
>
> alias cd='cd -q'
>
> and put a stop to this.  I have attached a proposed patch, any thoughts?
>
> Thanks,
> -------
> Elliott Forney                        E-Mail: id...@cs.colostate.edu
> Graduate Student                      Phone:  1.402.215.7440
> Computer Science Department           Web:
> http://www.cs.colostate.edu/~idfah
> Colorado State University
>

Reply via email to