you are viewing a single comment's thread
view the rest of the comments
[–] 16 points 10 months ago* (last edited 10 months ago) (8 children)

To me, it genuinely makes a huge difference that I don't have to manually press Ctrl+R for history search. Because 9 times out of 10, I accept a history suggestion from Fish where I did not think about whether it would be in my history.

This includes really mundane commands, like cd some/deeply/nested/path/. You would not believe, how often I want to cd into the same directory.
But I've also had it where I started typing a complicated docker run command and Fish suggests the exact command I want to write, because apparently I already ran that exact command months ago and simply forgot.

  • source
  • parent
  • hideshow 8 child comments
  • [+] 12 points 10 months ago (6 children)
  • [–] 1 point 9 months ago (5 children)

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

  • source
  • parent
  • hideshow 5 child comments
  • [–] 2 points 9 months ago (2 children)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 9 months ago (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 9 months ago

    Yep, and fish has even more ways to expedite frequent used commands and locations, but because the completion stuff's so good, it's easy to never bother setting up abbreviations and keybinds and so on. So many things are often just a couple key presses away, by default, after using it for a while.

  • source
  • parent