Added ghci
This commit is contained in:
5
ghci
Normal file
5
ghci
Normal file
@@ -0,0 +1,5 @@
|
||||
:set prompt "ghci> "
|
||||
let ghciEscapeShellArg arg = "'" ++ concatMap (\c -> if c == '\'' then "'\"'\"'" else [c]) arg ++ "'"
|
||||
|
||||
:def! h return . (":! hoogle --color --count=20 " ++) . ghciEscapeShellArg
|
||||
:def! doc return . (":! hoogle --info " ++) . ghciEscapeShellArg
|
Reference in New Issue
Block a user