help-bash
[Top][All Lists]
Advanced

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

Re: "cdspell" enabled by default on interactive shell?


From: Jin Xiang
Subject: Re: "cdspell" enabled by default on interactive shell?
Date: Sat, 20 Nov 2021 16:02:38 -0500

Thank you for your confirmation!

On Sat, Nov 20, 2021 at 12:43 PM Chet Ramey <chet.ramey@case.edu> wrote:

> On 11/20/21 9:04 AM, Jin Xiang wrote:
> > The Bash Reference Manual claims that "cdspell" is enabled by default in
> an
> > interactive shell:
> >
> https://www.gnu.org/software/bash/manual/bash.html#Interactive-Shell-Behavior
> >
> > Quote (item #20): "Simple spelling correction for directory arguments to
> > the cd builtin is enabled by default (see the description of the cdspell
> option
> > to the shopt builtin in The Shopt Builtin
> > <https://www.gnu.org/software/bash/manual/bash.html#The-Shopt-Builtin
> >)."
> >
> > But this option is always off when I launch a new bash in interactive
> mode.
> > (It's not turned off by any of my bash config files.) Can anybody tell me
> > why? Thanks!
>
> Thanks for the report. The "Interactive Shell" section is clearly wrong;
> the description of `cdspell' and `shopt' are correct in that it is not
> enabled by default.
>
> Chet
>
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>                  ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/
>


reply via email to

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