sourcephile
/
git
/
julm
/
julm-nix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
dcd9c12
)
ghc: fix ghci config
author
Julien Moutinho
<julm+julm-nix@sourcephile.fr>
Mon, 8 Nov 2021 05:34:01 +0000
(06:34 +0100)
committer
Julien Moutinho
<julm+julm-nix@sourcephile.fr>
Mon, 8 Nov 2021 05:34:01 +0000
(06:34 +0100)
homes/softwares/ghc.nix
patch
|
blob
|
history
diff --git
a/homes/softwares/ghc.nix
b/homes/softwares/ghc.nix
index 1b9bfa7e35b1a9128177d9dc5d3034f3fe4c8dc3..7d2311cf14c51715babc33a1081e88f6a04f7124 100644
(file)
--- a/
homes/softwares/ghc.nix
+++ b/
homes/softwares/ghc.nix
@@
-1,6
+1,10
@@
{
home.file.".ghci".text = ''
- :set prompt "\SOH\ESC[93m\STXλ\SOH\ESC[34;1m\STX>\SOH\ESC[0;48;05;233m\STX "
+ -- Custom prompt breaks ob-haskell:
+ -- https://github.com/aspiers/orgmode/blob/5121209baa4e0e9532b521ec997b66bb8be31460/lisp/ob-haskell.el#L121-L124
+ -- :set prompt "\SOH\ESC[93m\STXλ\SOH\ESC[34;1m\STX>\SOH\ESC[0;48;05;233m\STX "
+
+ -- Reversing errors breaks ghcid's --reverse-errors·
-- :set -freverse-errors
'';
}