Re:Filenames and Pathnames in Shell: How to Do It Correctly
by jackthetab on Monday June 19, 2023 @09:02PM
(#36398452)
ARGH! How does one do code on this site?
I meant: set completion-ignore-case on
set completion-prefix-display-length 2
set completion-map-case on
Re:Filenames and Pathnames in Shell: How to Do It Correctly
by js2 on Monday June 19, 2023 @09:58PM
(#36398830)
Indent by 4 spaces.
like this
Re:Filenames and Pathnames in Shell: How to Do It Correctly
by tsimionescu on Tuesday June 20, 2023 @01:57AM
(#36400259)
You actually indent by 2 spaces, not 4:
Like this
4 spaces is a Markdown thing.
Re:Filenames and Pathnames in Shell: How to Do It Correctly
by js2 on Tuesday June 20, 2023 @02:00PM
(#36407945)
My bad, I knew that at some point. The rules are actually linked to from the well-hidden "help" at the bottom right of the comment box:
Which may be why they gave us these options to put in our ~/.inputrc
``` set completion-ignore-case on set completion-prefix-display-length 2 set completion-map-case on ```
Technically filenames and paths are still case-sensitive, but with these settings they practically aren't.