@rossijonas posted on twitter:
Fancy #bash #zsh #cli upgrade:
Cat with steroids (or as they say, cat clone with wings)
Install
bat
and add the alias:
alias cat='bat --theme="TwoDark" --style="numbers" --color=always'
(you may play with options š)
https://github.com/sharkdp/bat
#linux #macos #cat #bat #shell
and replied adding:
You can always ignore the alias and invoke the standard
cat
using\
:
\cat file.txt
Useful links & references:
Footnotes:
- Follow me on Twitter to get more posts like this and other quick tips in your feed.
- If you have any doubts or tips about this article, Iād appreciate knowing and discussing it via email.
- Do you have any other Cli tips? Would you like to publish that in this blog? Please send an email to cli drops.
- As English is not my native language, I apologize for the errors. Corrections are welcome.
- Contact: cli [@] alldrops [.] info.