[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
flag for quiet CDPATH
From: |
Elliott Forney |
Subject: |
flag for quiet CDPATH |
Date: |
Mon, 20 Jan 2014 17:16:51 -0700 |
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.
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: idfah@cs.colostate.edu
Graduate Student Phone: 1.402.215.7440
Computer Science Department Web: http://www.cs.colostate.edu/~idfah
Colorado State University
quiet_cdpath.patch
Description: Text Data
- flag for quiet CDPATH,
Elliott Forney <=