Skip to content

Instantly share code, notes, and snippets.

@typedt
typedt / .ghci
Last active August 5, 2017 21:13 — forked from pera/.ghci
GHCi dot file
-- You need to install IPPrint and HsColour with cabal to use this config.
-- If you find all the loading messages anoying you may want to set an alias:
-- alias ghci="ghci -v0"
-- Or if you are using stack ghci:
-- alias ghci="stack --silent ghci --ghci-options -v0"
-- use color Cyan, with imported modules in bold
:set prompt "\n\ESC[1;36m%s\n\ESC[0;36m\STXλ> \ESC[m\STX"
-- if ghci >= v7.8.1 for multiline support: