0 points

Because you need to cd “path to directory” not cd “name” lol

permalink
report
reply
0 points

lol

permalink
report
parent
reply
3 points

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.

permalink
report
reply
2 points

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

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply
1 point

Keep filling those bugs and stop complaining on random forums, kids

permalink
report
parent
reply
1 point

Something something symlink Downloads to downloads

permalink
report
parent
reply
1 point

Why not just cd $XDG_DOWNLOAD_DIR in the first place?

permalink
report
parent
reply
1 point

Lower case directories?

Eww

ILikeMineInAWayICanReadThemProperly, instead of ilikemineinawayicanreadthemproperly

permalink
report
parent
reply
1 point

If a directory has multiple words in it I usually do kebab case: i-like-mine-in-a-way-i-can-read-them-properly. Both easier to read and type than pascal case.

For more complex filenames I use a combination of kebab-case and snake_case, where the underscore separates portions of the file name and kebab-case the parts of those portions. E.g. movie-title_release-date-or-year_technical-specifications.mp4

permalink
report
parent
reply
1 point

CamelCase directories and snake_case files.

permalink
report
parent
reply
1 point

Do. none of you use case insensitive autocomplete? “do ” “Downloads”

permalink
report
parent
reply
0 points

Or use a nicer alternative like zoxide! :)

permalink
report
reply
0 points

Or Windows ;)

permalink
report
parent
reply
2 points

Use a shell with decent auto-completion. I have not been irritated by this in years.

permalink
report
reply
1 point

Won’t autocomplete fail if you do “cd d” and then try the autocomplete?

Or is that what you mean by “decent” auto-completion?

permalink
report
parent
reply
1 point

No, it will probably go to “Documents”, and if you hit tab again it should go to “Downloads”. (Assuming you have the normal default folders)

permalink
report
parent
reply
1 point

bash’s autocomplete fails (at least with default settings), but e.g. zsh can figure out what you mean

permalink
report
parent
reply
1 point

Not with a decent autocomplete. It will look for a folder starting with a small d and if it doesn’t exist it looks at a folder with a large D.

permalink
report
parent
reply
1 point

The choice of the letter d was brilliant, that’s for sure. Now I’m imagining a folder with a large D.

permalink
report
parent
reply
0 points

What shell would you recommend? 🤔

permalink
report
parent
reply
1 point

I use fish which is quite nice OOTB, although if you want a posix compliant shell, zsh with some plugins is also great.

permalink
report
parent
reply
0 points

I seems that I have triggered something, but keep that going, it’s quality content generation. 😬

permalink
report
reply
0 points

Everyone on any Linux thread ever: you are a moron, obviously and you’re doing it wrong. Why don’t you install another distro, or better yet: modify and recompile your distro to match your desired experience, the code is open source ffs! What do you need? 4 years of work maybe? Come on.

permalink
report
parent
reply
0 points

Anything that slightly improves UX is bloat.

permalink
report
parent
reply
0 points

True! I’ve got rid of my monitor a long time ago, who needs one? gshshhshshshhshbsbbs

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

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

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 3.6K

    Monthly active users

  • 810

    Posts

  • 13K

    Comments