procex-0.2.0: Ergonomic process launching with extreme flexibility and speed
Safe HaskellSafe-Inferred
LanguageHaskell2010

Procex.Shell

Synopsis

Documentation

promptFunction :: [String] -> Int -> IO String Source #

For some ungodly reason, cd-ing inside ghci won't change the cwd of ghci itself, so completion, etc. will always happen from the directory you started ghci in. This is a quick hack to work around this by also running changeWorkingDirectory "above" the shell.

Do `:set prompt-function promptFunction` in GHCi

initInteractive :: IO () Source #

You need to run this if you want stdin to work properly inside ghci.