summaryrefslogtreecommitdiff
path: root/ghc/.ghci
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2019-05-26 22:46:19 +0200
committerMiguel <m.i@gmx.at>2019-05-26 22:46:19 +0200
commit5bcbc13d49e4e4bc615ae33290bd85ace7ab864a (patch)
tree5194a3d74568039bddef63e7354a1245c996ed1f /ghc/.ghci
parent6c012d7880698e715b4e91111e0e5d89ee0bf3f1 (diff)
more configs
Diffstat (limited to 'ghc/.ghci')
-rw-r--r--ghc/.ghci5
1 files changed, 5 insertions, 0 deletions
diff --git a/ghc/.ghci b/ghc/.ghci
new file mode 100644
index 0000000..4e3d705
--- /dev/null
+++ b/ghc/.ghci
@@ -0,0 +1,5 @@
+-- :set prompt "\ESC[34mλ> \ESC[m"
+-- :set prompt "%s λ>"
+:set prompt "\ESC[0;36m\STX%s\n\ESC[0;34m\STXλ> \ESC[m\STX"
+:module +Data.List
+:def hoogle \s -> return $ ":! hoogle --count=15 \"" ++ s ++ "\""