bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to silence shopt -s autocd verbose?


From: Clark J. Wang
Subject: Re: how to silence shopt -s autocd verbose?
Date: Mon, 29 Nov 2010 09:50:35 +0800

On Sun, Nov 28, 2010 at 5:12 AM, some guy <fivesides@live.com> wrote:

>
> shopt -q doesn't silence shopt -s autocd (intuitively, after reading it's
> description, i thought this was it's purpose, but is not.)
>
> `shopt -q' is usually used to check if a shopt option is turned on or off.
For example:

$ shopt -q autocd
$ echo $?

shopt -s autocd
> /home/meow/cats
> # /home/meow/cats
>
> (notice how it repeats itself after I cd the autocd way, simply by typing
> the path? This is redundant information on my screen, 50% of lines at best
> is polution). How can I silence that extra repetition?
>
> -some guy
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]