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

Programmer Humor

31836 readers
996 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
[–] [email protected] 6 points 10 months 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.

[–] [email protected] 4 points 10 months 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'.

[–] [email protected] 2 points 10 months ago

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

[–] [email protected] 2 points 11 months ago

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

[–] [email protected] 0 points 11 months 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

[–] [email protected] 1 points 11 months ago

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