• cally [he/they]@pawb.social
    link
    fedilink
    English
    arrow-up
    17
    ·
    24 hours ago

    not sure why the default behavior is this:

    file\ name\ with\ a\ bunch\ of\ spaces

    instead of this:

    "file name with a bunch of spaces"

    but you can just press " before pressing tab to auto-complete, and it will use the 2nd form

    • killeronthecorner@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 hours ago

      Because quoting requires token expansion (e.g. ~ to /home/you). Escaping gives you a much shorter path in that case.

      That said I’m with you, full quoted paths read better to me.