On Thu, 1 Aug 2013 13:02:31 +0200, Chris Down wrote:
> As we're probably all aware, `globstar' follows symlinks when doing
> recursive traversal. Is it possible to, at some future version, have
> an option that enables/disables (I guess enables by default for
> backwards compatibility) following sy
On 1/21/14 6:30 AM, Chris Down wrote:
> On Thu, 1 Aug 2013 13:02:31 +0200, Chris Down wrote:
>> As we're probably all aware, `globstar' follows symlinks when doing
>> recursive traversal. Is it possible to, at some future version, have
>> an option that enables/disables (I guess enables by default
On 21 January 2014 01:16, Elliott Forney 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
Lionel Cons wrote:
Yes, adding yet another option which can be implemented using POSIX
behaviour is IMHO code bloat. Just use alias cd='2>"/dev/null" cd '
(yes, POSIX mandates that re-directions can be prefixed and not only
postfixed).
---
But the above doesn't work. The echo happens on stdo
On 1/21/14 12:30 PM, Lionel Cons wrote:
> On 21 January 2014 01:16, Elliott Forney 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
On 1/21/14 1:39 PM, Linda Walsh wrote:
>
>
> Lionel Cons wrote:
>> Yes, adding yet another option which can be implemented using POSIX
>> behaviour is IMHO code bloat. Just use alias cd='2>"/dev/null" cd '
>> (yes, POSIX mandates that re-directions can be prefixed and not only
>> postfixed).
>
>
These are both good solutions, I was unaware of the builtin keyword or
that redirection could come before the command :) Since cd doesn't
appear to print anything else to stdout I would probably support
leaving things as they are.
Thanks!