[Top][All Lists]

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

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

From: Chet Ramey
Subject: Re: "cdspell" enabled by default on interactive shell?
Date: Sat, 20 Nov 2021 12:43:22 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.2.1

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:

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

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.


``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU

reply via email to

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