this post was submitted on 02 Oct 2023
39 points (97.6% liked)

Programmer Humor

32371 readers
560 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

cross-posted from: https://feddit.de/post/4070992

top 6 comments
sorted by: hot top controversial new old
[–] joe_archer@feddit.uk 6 points 1 year ago

Case insensitive file systems are a really stupid idea. Especially if you've ever written code to handle files and then had Windows screw you over.

[–] tkk13909@sopuli.xyz 4 points 1 year ago

That's actually the reason I changed all my main folders to lower case. Another nice thing you can do is change your downloads folder to 'internet' so that tab completion doesn't mix it up with 'documents'.

[–] Jorgelino@lemmy.ml 2 points 1 year ago

Isn't this more of a linux meme than a programming meme?

[–] Bankenstein@feddit.de 2 points 1 year ago

sudo echo "set completion-ignore-case on" >> /etc/inputrc

[–] ShaunaTheDead@kbin.social 0 points 1 year ago (1 children)

What are you crazy? They're completely different! You think ASCII code 01100100 is the same as ASCII code 01000100? COME ON!

Seriously though, if Linux would implement a fuzzy search for capitalized and uncapitalized letters that would be pretty cool. Like if you do cd downloads it should be able to pretty easily find that you meant cd Downloads

[–] lameJake@feddit.de 1 points 1 year ago

You know zsh has fuzzy completion. There are also plenty of fuzzy finder out there which do just that.