Skip to content

Instantly share code, notes, and snippets.

@hrstt
Created October 18, 2012 04:35
Show Gist options
  • Save hrstt/3909872 to your computer and use it in GitHub Desktop.
Save hrstt/3909872 to your computer and use it in GitHub Desktop.
coloring the code in ghci
# ------
# > sudo cabal install hscolour
# > vi ~/.profile
if [ -f "$HOME/.profile" ]; then
. $HOME/.profile
fi
alias ghci='ghci 2>&1 | HsColour -tty '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment