Advertisement
andmalv

[Tip] Imprimir contenido de un archivo con colores

Jul 12th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.27 KB | None | 0 0
  1. Instalar 'python-setuptools'
  2. Ej
  3.     sudo apt-get install python-setuptools
  4.  
  5. Y luego 'pygments'
  6.  
  7.     sudo easy_install pygments
  8.  
  9. Crear el alias para reducir el comando
  10.  
  11.     echo "alias ccat='pygmentize -O style=monokai -f console256 -g'" >> ~/.bashrc
  12.  
  13. Y ahora
  14.     ccat Archivo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement