mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-18 17:57:11 +03:00
dev: ghci: disable color, which sometimes obscures pretty-printed output
This commit is contained in:
parent
3dd497d94d
commit
3961dbc044
7
.ghci
7
.ghci
@ -1,7 +1,12 @@
|
||||
:set prompt "ghci> "
|
||||
import System.Environment
|
||||
setEnv "NO_COLOR" "1"
|
||||
-- TEMP
|
||||
-- :m +*Hledger.Cli.Commands
|
||||
|
||||
-- https://github.com/cdepillabout/pretty-simple
|
||||
:set -package pretty-simple
|
||||
:set -interactive-print=Text.Pretty.Simple.pPrint
|
||||
:set -interactive-print=Text.Pretty.Simple.pPrintNoColor
|
||||
|
||||
-- ghci commands to be run once at ghci startup
|
||||
-- http://www.haskell.org/ghc/docs/7.6.3/html/users_guide/ghci-commands.html
|
||||
|
Loading…
Reference in New Issue
Block a user