• ulterno@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      2 days ago

      I vaguely remember zsh in Manjaro (by default) having a tab completion that automatically added the slashes.
      Never set it up myself though.

      But I really hate having to worry about quoting my file variables in scripts.
      So much, that after a certain complexity, I just give up the script and make the thing in C++.


      Oh, and if I make a script that doesn’t handle file names properly (because it’s not required in that specific use case), I make sure to delete it after use, to prevent mistaken use later, which would otherwise cause more headache than just having to rewrite a script.

      • TarantulaFudge@startrek.website
        link
        fedilink
        arrow-up
        2
        ·
        23 hours ago

        You can just start the path with a quote and it will auto complete with spaces. I spend a lot of time correcting files with spaces replaced now. The spaces are better. I think music is the most annoying, since I like to use tools like EasyTag to extract metadata from filenames.

        So please stop.naming_files.like_this.its_stupid

        • ulterno@programming.dev
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 hour ago

          You can just start the path with a quote and it will auto complete with spaces.

          Oh, you’re right. I just tried it out and it worked the same way.
          I wonder what gave me the misconception the it doesn’t by default.