4 ms·
Wanted to add: I realized that my function above doesn't fully show how I use it. I recommend setting your $LESS to include -F so that by default it doesn't le
by kbd 5y ago
Wanted to add:
I realized that my function above doesn't fully show how I use it. I recommend setting your $LESS to include -F so that by default it doesn't leave pages of output in your scrollback. That way you can get a quick tree, scrollable/searchable in your pager, and then don't lose your shell context. FWIW, my $LESS is:
export LESS='-iMFx4 --mouse' # smart-case, status bar, quit 1 screen, 4sp tabs
Also should mention https://github.com/Canop/broot https://github.com/Canop/broot as a good directory explorer tool.
- hiyer 5y agoThanks for the "less -F" tip! I didn't know we could do that, and I'll definitely find it useful.