Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Suggestion: CD_SILENT option.



> Just small suggestion - add CD_SILENT option to make `cd' silently change
> to non-local directory (using CDPATH).

It is really unnecessary since it can be done by a shell function wrapper
around cd.  Just redirect the output of cd.  That message goes to stdout so
if you redirect only that error messages are still visible o stderr.

Example:

cd () { builtin cd "$@" > /dev/null ; }

Zoltan




Messages sorted by: Reverse Date, Date, Thread, Author