.ghci config
let ghciEscapeShellArg arg = "'" ++ concatMap (\c -> if c == '\'' then "'\"'\"'" else [c]) arg ++ "'" :def! search return . (":! hoogle --color " ++) . ghciEscapeShellArg :def! doc return . (":! hoogle --info " ++) . ghciEscapeShellArg