2 ms·
Here because.... I didn't know of ctrl-R. What a life changer (although I had an alias for "hg" to "history | grep" :) )
by rgoodwintx 4y ago
Here because.... I didn't know of ctrl-R. What a life changer (although I had an alias for "hg" to "history | grep" :) )
- kalev 4y agoPlease check FZF [1] and it’s integration with ctrl-r. It’s a huge productivity boost and I cannot live without it. [1] https://github.com/junegunn/fzf https://github.com/junegunn/fzf
- lillecarl 4y agoThere's also McFly[1] that does interactive history search. [1]: https://github.com/cantino/mcfly https://github.com/cantino/mcfly
- mathfailure 4y agoThis sounds quite awesome, it's a pity that the realization is quite 'alien' to unix way of things. IMO shell commands history should be a database by default, not just a single file that gets auto-appended with both awesome commands and crap you don't really want to get stored for later. Thanks for linking this project, will try it, it may be a game changer.
- rgoodwintx 4y agoI think I actually HAVE fzf installed, thus my first experience w/ Ctrl-R was even better! I really haven't fully grok'ed fzf yet though, probably should look up some guides.