dormi.zone
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Gollum to Programmer Humor@programming.dev • 2 years ago

D or d come on

i.imgur.com

message-square
223
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
1.44K

D or d come on

i.imgur.com

Gollum to Programmer Humor@programming.dev • 2 years ago
message-square
223
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • @aleq@lemmy.world
    link
    fedilink
    130•2 years ago

    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
      link
      fedilink
      92•2 years ago

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

      • @MooseBoys@lemmy.world
        link
        fedilink
        45•2 years ago

        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.

        • @Synthead@lemmy.world
          link
          fedilink
          40•2 years ago

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

          • @FiskFisk33@startrek.website
            link
            fedilink
            6•2 years ago

            Porque no los dos?

        • @schnurrito@discuss.tchncs.de
          link
          fedilink
          28•2 years ago

          Something something symlink Downloads to downloads

          • @MooseBoys@lemmy.world
            link
            fedilink
            3•2 years ago

            Yeah but the main issue is that I don’t want there to be a Downloads directory in my home.

        • @Number358@lemmy.world
          link
          fedilink
          11•
          edit-2
          2 years ago

          Removed by mod

          • @paperplane@lemmy.world
            link
            fedilink
            4•2 years ago

            This is all fun and games until you try moving a backup to a file system that’s case-insensitive

        • @zlatko@programming.dev
          link
          fedilink
          3•2 years ago

          Why not just cd $XDG_DOWNLOAD_DIR in the first place?

          • unalivejoy
            link
            fedilink
            English
            3•
            edit-2
            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.

    • @Honytawk@lemmy.zip
      link
      fedilink
      8•2 years ago

      Lower case directories?

      Eww

      ILikeMineInAWayICanReadThemProperly, instead of ilikemineinawayicanreadthemproperly

      • @aleq@lemmy.world
        link
        fedilink
        14•2 years ago

        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

        • @jasory@programming.dev
          link
          fedilink
          2•2 years ago

          CamelCase directories and snake_case files.

    • @eek2121@lemmy.world
      link
      fedilink
      3•2 years ago

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

Programmer Humor@programming.dev

!programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

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
  • 442 users / day
  • 4.29K users / week
  • 7.82K users / month
  • 17.1K users / 6 months
  • 23.3K subscribers
  • 1.39K Posts
  • 48.9K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org