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

Programmer Humor

27214 readers
522 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
 
(page 2) 50 comments
sorted by: hot top controversial new old
[–] ram@feddit.nl 8 points 2 years ago (7 children)

There are two Linux paradigms that I consider stupid. One is the use of centralized software repositories managed by the distro instead of individual developer maintained installers. The other one is file system case sensibility. They already admitted defeat on the first one with the rise of containerised applications. I wonder how much longer they'll keep the charade on the second one.

[–] MJBrune@beehaw.org 4 points 2 years ago

I have a third one for you. Not being able to pick where things install. Everything installs to the os disk. Terrible idea.

load more comments (6 replies)
[–] TetrisIQ@lemmy.world 7 points 2 years ago (8 children)

You can also disable case sensivity in bash

load more comments (8 replies)
[–] Luvon@beehaw.org 6 points 2 years ago

cd dow *tab

[–] Kanda@reddthat.com 6 points 2 years ago (6 children)

Just make a downloads folder if you absolutely want to go there

load more comments (6 replies)
[–] steltek@lemm.ee 6 points 2 years ago (1 children)

Here's how to fix this[+]

Create $HOME/.config/user-dirs.dirs with

XDG_DOWNLOAD_DIR="$HOME/downloads"

You may need to logout/in for things to reread this file.

The full list of keys is:

  • XDG_DESKTOP_DIR
  • XDG_DOWNLOAD_DIR
  • XDG_TEMPLATES_DIR
  • XDG_PUBLICSHARE_DIR
  • XDG_DOCUMENTS_DIR
  • XDG_MUSIC_DIR
  • XDG_PICTURES_DIR
  • XDG_VIDEOS_DIR

+: Since this is Linux, this is a fix for many but not all cases.

[–] lastweakness@lemm.ee 4 points 2 years ago

XDG User dirs are cool, i agree. But that's not really the problem here

[–] boyi@lemmy.sdf.org 5 points 2 years ago* (last edited 2 years ago)

Don't even have to cd when using completion with fish/zsh. Just type

down[tab]
[–] Uncle_Iroh@lemmy.world 4 points 2 years ago (2 children)

Because you need to cd "path to directory" not cd "name" lol

load more comments (2 replies)
[–] lfromanini@feddit.nl 3 points 2 years ago

Zoxide and cd down. ;)

[–] SorteKanin@feddit.dk 3 points 2 years ago (1 children)

Or use a nicer alternative like zoxide! :)

load more comments (1 replies)
load more comments
view more: ‹ prev next ›