Added a few minor things

This commit is contained in:
Veit Heller
2014-07-28 10:13:02 +02:00
parent 07c6ee6c11
commit 571fa0632f
2 changed files with 3 additions and 0 deletions

2
ghci
View File

@@ -1,4 +1,6 @@
:set prompt "ghci> "
:set -Wall
let ghciEscapeShellArg arg = "'" ++ concatMap (\c -> if c == '\'' then "'\"'\"'" else [c]) arg ++ "'"
:def! h return . (":! hoogle --color --count=20 " ++) . ghciEscapeShellArg