bat, not cat
- integración GIT
install
apt install bat /usr/bin/batcat
zsh
git clone https://github.com/fdellwing/zsh-bat.git $ZSH_CUSTOM/plugins/zsh-bat
plugins=(zsh-bat ...)
uso
-p: sin decoración, alias de--style:plain-r inicio:fin: muestra las líneas indicadas- 15:20
- :10
- 10:
-n: número de línea--style:plain: sin decoración
-A: todos los carácteres-l <lenguaje>: resaltado lenguaje--list-languages|-L: lenguajes disponibles--list-themes--theme <tema>export BAT_THEME="<tema>"
--paging=never--styleexport BAT_STYLE="<tema>"