summaryrefslogtreecommitdiff
path: root/.ghci
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2015-02-18 12:57:27 +0900
committerSean Whitton <spwhitton@spwhitton.name>2015-02-18 19:36:44 +0900
commitdc66c982dc00108492ce97ff0351beca89632a73 (patch)
tree2e51ecf8b3919fa9ea444af20b11149d02154f90 /.ghci
parentc780f11d3bceaba30913473ef17409642c8154df (diff)
downloaddotfiles-dc66c982dc00108492ce97ff0351beca89632a73.tar.gz
.ghci for use with ghci-ng
Diffstat (limited to '.ghci')
-rw-r--r--.ghci8
1 files changed, 8 insertions, 0 deletions
diff --git a/.ghci b/.ghci
new file mode 100644
index 00000000..77168893
--- /dev/null
+++ b/.ghci
@@ -0,0 +1,8 @@
+-- for use with ghci-ng
+:set +c
+
+-- set the prompt
+:set prompt "ghci> "
+
+-- after install haskell-docs, can now type :doc function to get docs on a function
+:def doc \input -> return (":!haskell-docs " ++ input)