Answers for "linux cat with syntax highlighting"

0

linux cat with syntax highlighting

alias cat="bat --paging=never -pp --style='plain' --theme=TwoDark $*"
Posted by: Guest on April-22-2022
0

linux cat with syntax highlighting

#You can use bat/batcat
# batcat is a cat clone with syntax highlighting and git integration

#Installation
sudo apt install bat

#Using
batcat /the/text-file.txt

#Using alias to cat
alias cat='batcat'
Posted by: Guest on April-22-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language