Re:Shell Productivity Tips and Tricks
by tcoff91 on Saturday April 25, 2020 @02:47AM
(#22976200)
fzf fizzy history search with ctrl-r is my favorite new shell trick. Fzf is a wonderful program
[ Parent
| on HN ]
I too prefer fizzy history. It's like Sodastream for your shell!
Skim [0] is a nice alternative to fzf [1], mainly for the fact you can call additional commands dynamically like so [2]:
sk --ansi -i -c 'rg --color=always --line-number "{}"'
[0] https://github.com/lotabout/skim
[1] https://github.com/lotabout/skim#difference-to-fzf
[2] https://github.com/lotabout/skim#interactive-modeWould that correspond to piping the output of the additional command to fzf?
fzf's great. I use it for a quick/easy git branch menu, complete with preview of recent history of each branch: https://pastebin.com/R91bP2qa