Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14175

Re: why is dash confused with underscore in autocompletion?

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: why is dash confused with underscore in autocompletion?
Date 2018-05-30 09:12 -0400
Message-ID <mailman.804.1527685950.1292.bug-bash@gnu.org> (permalink)
References <5B0DC703.9000203@tlinx.org> <74737bdd-031f-2b53-f5f4-1c98dfc581dc@redhat.com> <5B0DDF10.7060601@tlinx.org>

Show all headers | View raw


On 5/29/18 7:15 PM, L A Walsh wrote:

>    I often ignore case for filenames, as I often interact
> with windows, but windows does not treat '-' and '_' as the
> same character.  Having bash be the one exception that considers
> them to be case-variations isn't logical nor helpful as having
> a rule that ignores 'case'.  That doesn't preclude a separate
> variable/switch for toggling the behavior.

Linda: it's a readline option. It's off by default. You turned it on
somewhere in your environment. If you don't like the behavior, find out
where you enabled it and turn it off again.

-- 
``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/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: why is dash confused with underscore in autocompletion? Chet Ramey <chet.ramey@case.edu> - 2018-05-30 09:12 -0400

csiph-web