Skip to content

Instantly share code, notes, and snippets.

@fortraan
Last active October 18, 2018 20:15
Show Gist options
  • Save fortraan/5c6f64df30a4be4e4ca7a90ae6f40ebe to your computer and use it in GitHub Desktop.
Save fortraan/5c6f64df30a4be4e4ca7a90ae6f40ebe to your computer and use it in GitHub Desktop.
cat but with syntax highlighting
#!/bin/bash
# to install, download this file to /usr/local/bin and make sure the execute bit is enabled.
highlight -O xterm256 $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment