• aleq@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 year 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
      arrow-up
      2
      ·
      1 year ago

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

    • Honytawk@lemmy.zip
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Lower case directories?

      Eww

      ILikeMineInAWayICanReadThemProperly, instead of ilikemineinawayicanreadthemproperly

      • aleq@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year 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

    • nogooduser@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

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

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

      • newIdentity@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        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.

      • bdonvr@thelemmy.club
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        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)

  • darcy@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    i renamed my home folders to dl, docs, pics, etc. and use auto-cd (whatever its called) to just type dl instead of cd dl