News for hackers. Stuff that matters.
Re:CLI: Improved by radarsat1 on Thursday August 30, 2018 @01:54PM (#17878971)
> The bat command also allows me to search during output (only if the output is longer than the screen height) using the / key binding (similarly to less searching).

You can do this with `less -F <file>`. It will show the file on the screen like `cat` unless it is longer than one screen, then it will go into paging mode and allow search with `/`.

Side note, how do you make his nice-looking prompt?

Re:CLI: Improved by Rynant on Thursday August 30, 2018 @02:09PM (#17879139)
His prompt is the oh-my-zsh theme "agnoster".

https://github.com/robbyrussell/oh-my-zsh/wiki/Themes

Re:CLI: Improved by mahesh_rm on Thursday August 30, 2018 @02:08PM (#17879127)
Oh my zsh, powerlevel9k theme, iterm2 if you are on a mac.
Re:CLI: Improved by slaiyer on Thursday August 30, 2018 @03:12PM (#17879794)
less +F
Re:CLI: Improved by mlevental on Thursday August 30, 2018 @02:03PM (#17879076)
you don't need the -F do you? unless I'm missing something you're saying about less
Re:CLI: Improved by another-cuppa on Thursday August 30, 2018 @02:33PM (#17879399)
That makes it exit immediately like cat.
Re:CLI: Improved by mlevental on Thursday August 30, 2018 @02:34PM (#17879412)
oh. but why would you want to? even for a 1 page file i still want to / most of the time