- Have highlight installed
- run a shell (tested with bash)
Last active
October 31, 2017 05:08
-
-
Save bobylito/58ae0759d04da5d7d933 to your computer and use it in GitHub Desktop.
Less with syntax higlighting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hl(){ | |
highlight -O ansi $1 | less -r | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment