4 points

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

permalink
report
reply
1 point

lol

permalink
report
parent
reply
28 points

using capital letters in file/directory names on Linux :|

permalink
report
reply
41 points
*

It’s a default on some distros, unfortunately, and changing it without updating the necessary env vars will break a bunch of stuff.

permalink
report
parent
reply
4 points
*
Deleted by creator
permalink
report
parent
reply
3 points

It would be a default on almost every distro that follows XDG specifications to have stuff like Downloads, Pictures, Videos in the $HOME folder. One of the first things I do as part of an installation is to modify ~/.config/user-dirs.dirs and set a specific folder, say /data/downloads or ~/downloads, for every XDG base directory.

permalink
report
parent
reply
123 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
91 points

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

permalink
report
parent
reply
45 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
35 points

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

permalink
report
parent
reply
28 points

Something something symlink Downloads to downloads

permalink
report
parent
reply
11 points
*
Removed by mod
permalink
report
parent
reply
3 points

Why not just cd $XDG_DOWNLOAD_DIR in the first place?

permalink
report
parent
reply
6 points

Lower case directories?

Eww

ILikeMineInAWayICanReadThemProperly, instead of ilikemineinawayicanreadthemproperly

permalink
report
parent
reply
14 points

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
2 points

CamelCase directories and snake_case files.

permalink
report
parent
reply
3 points

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

permalink
report
parent
reply
6 points

cd dow *tab

permalink
report
reply
3 points

Or use a nicer alternative like zoxide! :)

permalink
report
reply
0 points

Or Windows ;)

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.8K

    Monthly active users

  • 1.1K

    Posts

  • 39K

    Comments