News for hackers. Stuff that matters.
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
Re:Shell Productivity Tips and Tricks by rwnspace on Saturday April 25, 2020 @07:56AM (#22977434)
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-mode
Re:Shell Productivity Tips and Tricks by ptzz on Saturday April 25, 2020 @09:39AM (#22978006)
Would that correspond to piping the output of the additional command to fzf?
Re:Shell Productivity Tips and Tricks by gimboland on Saturday April 25, 2020 @02:55AM (#22976238)
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
Re:Shell Productivity Tips and Tricks by lcnmrn on Saturday April 25, 2020 @01:02PM (#22979446)
I like fd more. fish already has autocomplete.