Skip to content

Instantly share code, notes, and snippets.

@marianposaceanu
Created December 17, 2012 20:00
Show Gist options
  • Select an option

  • Save marianposaceanu/4321531 to your computer and use it in GitHub Desktop.

Select an option

Save marianposaceanu/4321531 to your computer and use it in GitHub Desktop.

in terminal

apt-get install pygments

in case the 'binary' pygmentize is not found

  • Download the most recent tarball from the here
  • Unpack the tarball
  • sudo python setup.py install

in ~/.bashrc or ~/.zhsrc

alias cat="pygmentize -O style=monokai -f console256 -g"

credits : based on this article, don't really understand the language but good stuff nevertheless

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