• Digit@lemmy.wtf
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 hours ago

    Do you know if fish can input arguments from prevous commands like ESC + . does in bash?

    Like Alt-.? (/ Alt - > ).

    Easier in reach, and can cycle through.

    I’ve not got that in my muscle memory yet… so rarely used… had to look that up. Handy. Should use more.

    • Ben@feddit.dk
      link
      fedilink
      arrow-up
      1
      ·
      23 minutes ago

      Yes exactly. I couldn’t find it on the fish online docs. Alt-. apparently also work in bash, so i should just not use the ESC version. I use it a lot for renaming and moving files. Thanks.