6 ms·
None of these blew my mind. If you like terminal productivity I recommend: fzf, Facebook path picker (aka fpp), fd, ripgrep, lf, tig. Some honorable mentions:
by 29athrowaway 6y ago
None of these blew my mind.
If you like terminal productivity I recommend: fzf, Facebook path picker (aka fpp), fd, ripgrep, lf, tig.
Some honorable mentions: tokei, hyperfine, lazydocker, ctop, ncspot.
- alpaca128 6y agoSolid selection. I'd also add nnn as the fastest tool to navigate directories I've ever seen.
- 29athrowaway 6y agonnn is certainly very fast. lf is also fast but has ranger's look and feel.
- Zizizizz 6y agoHave you been able to get it to cd on quit? it's the only thing I can't seem to get. It's amazing though.
- alpaca128 6y agoPressing `!` in the target directory will open a new terminal session within nnn, with that path as working dir. When you `exit` you'll land in nnn again. It's not exactly the same but close enough for me.
- JNRowe 6y agoHmm, if you mean the C-g behaviour then you need to set $NNN_TMPFILE: nnn() { declare -x +g NNN_TMPFILE=$(mktemp --tmpdir $0.XXXX) trap "rm -f $NNN_TMPFILE" EXIT =nnn $@ [ -s $NNN_TMPFILE ] && source $NNN_TMPFILE } You can use a static file if you're sure you'll never be running more than one instance. I'd prefer something like: nnn() { local tmp=$(mktemp --tmpdir $0.XXXX) trap "rm -f $tmp" EXIT =nnn -p $tmp $@ [ -s $tmp ] && cd ${"$(< $tmp)":h} } That will cd to the selected file's directory with enter/right, or do nothing if you simply quit. I guess it depends if you use it for browsing a lot or simply picking a file.
- trzeci 6y agoThanks for sharing! These tools actually blew my mind (fpp, nnn) and those are so useful!
- nafizh 6y agoUgrep instead of ripgrep. Otherwise great selection.
- dhagz 6y agoI'm getting pretty into fasd as well. It's basically a drop-in replacement for z, but it's got extra goodies that merge in some of fzf as well.
- 29athrowaway 6y agoSome other tools I use in case you liked the list above: bat, exa, percol, GNU dialog or zenity, xsv, ministat, gnuplot, tshark, mitmproxy. Plus any project from sharkdp and burntsushi and any tools recommended by Brendan Gregg. ht editor is a personal favorite too (press F6 and go to image to get started).