• ulterno@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 day 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
      1
      ·
      7 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