wlfrn

joined 2 years ago
[โ€“] wlfrn@lemmy.ml 2 points 9 months ago* (last edited 9 months ago)

I have a bash function in fuzzy_arg that I bind to Alt-a to uses fzf for interactively inserting arguments from previous commands. It's Ctrl-r for Alt-. -- I've found it super useful for essentially inserting partial commands (single arguments) from the history

[โ€“] wlfrn@lemmy.ml 4 points 9 months ago* (last edited 9 months ago)

you can get a lot of the way there with Control+R reverse history search (mentioned in the article) -- and it's interactive. With fzf you can even get fuzzy history searching (the first search result has a video). atuin puts history into a proper db, optional syncs across hosts, and, like fzf, enhances control+r