hrstt
10/18/2012 - 4:35 AM

coloring the code in ghci

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 '