Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Suggestion: CD_SILENT option.
- X-seq: zsh-workers 1765
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: borsenkow.msk@xxxxxx
- Subject: Re: Suggestion: CD_SILENT option.
- Date: Thu, 25 Jul 1996 17:15:10 +0200 (MET DST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <Pine.SV4.3.95.960725122108.24372B-100000@itsrm1> from Andrej Borsenkow at "Jul 25, 96 12:28:34 pm"
- Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary
- Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368
> 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