this post was submitted on 02 Oct 2023
1293 points (96.7% liked)

Programmer Humor

25567 readers
575 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] aleq@lemmy.world 110 points 2 years ago (14 children)

Reasonable and sane behavior of cd. Just get into the habit of always using lower case names for files and directories, that's how our forefathers did it.

[–] drolex@sopuli.xyz 85 points 2 years ago (9 children)

Yes, but this is the default on many distros, so for once the end user is not to blame

[–] MooseBoys@lemmy.world 44 points 2 years ago (8 children)

Even worse, many components will ignore the XDG_DOWNLOAD_DIR var so even if you manually change it to $HOME/downloads (lower-case) it will often break things.

[–] zlatko@programming.dev 3 points 2 years ago (1 children)

Why not just cd $XDG_DOWNLOAD_DIR in the first place?

[–] joyjoy@lemm.ee 3 points 2 years ago* (last edited 2 years ago)

That's not an environment variable. It's defined in ${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs.

Though you can use the xdg-user-dir DOWNLOAD command to get it automatically.

load more comments (6 replies)
load more comments (6 replies)
load more comments (10 replies)