Skip to content

Instantly share code, notes, and snippets.

@dre3s
Last active January 12, 2016 18:03
Show Gist options
  • Select an option

  • Save dre3s/e3ec498108b5b1e124f4 to your computer and use it in GitHub Desktop.

Select an option

Save dre3s/e3ec498108b5b1e124f4 to your computer and use it in GitHub Desktop.
pkgs.utils.ccat

#'cat' with syntax highlighting

by Osvaldo Zonetti https://coderwall.com/p/lzgryq/cat-with-syntax-highlighting

Install pygmentize with easy_install or pip:

$ sudo apt-get install python-setuptools
$ sudo easy_install pygments

.bash_profile

$ alias ccat='pygmentize -O style=monokai -f console256 -g'

use in command line

$ ccat hello.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment