this post was submitted on 08 Sep 2025
713 points (96.8% liked)

Programmer Humor

26220 readers
1689 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
[–] somerandomperson@lemmy.dbzer0.com 9 points 1 day ago (1 children)

/home/ what? it needs to be /home/$(whoami)

[–] rhpp@programming.dev 30 points 1 day ago (2 children)

Nah it should be $HOME, not everyone's home directory is in the default location.

[–] Speiser0@feddit.org 2 points 12 hours ago (1 children)
[–] HER0@beehaw.org 3 points 10 hours ago (1 children)

Maybe I'm misunderstanding, but as shown in your link, $HOME does not conflict with the XDG Base Directory Specification. It partially relies on $HOME being defined.

[–] Speiser0@feddit.org 1 points 2 hours ago

Subdirs of $HOME are used as defaults. So using $HOME alone is not enough. Also, prior to xdg dirs, applications were (many still are) storing their data under $HOME/.myapplication/.