[Xmonad] shellPrompt kills xmonad

Andrea Rossato mailing_list at istitutocolli.org
Sat Oct 27 04:21:14 EDT 2007

On Fri, Oct 26, 2007 at 09:10:48PM -0400, Brandon S. Allbery KF8NH wrote:
>  But otherwise you have a dependency on bash which can't be checked by Cabal. 
>   Note that e.g. the BSDs don't install bash by default.

Well, strictly speaking bash is not a requirement. Since I would
expect Run.runProcessWithInput to return an empty string in case of
failure (there was a discussion about that some time ago: someone
wanted it to return a Maybe String), ShellPrompt uses bash to get
directory completion, but if bash is not present ShellPrompt should
just be working with command completions and without directory

That is to say, ShellPrompt was expected to work even without bash.
Which means it does not depend on it.

This is why I still think that ShellPrompt is an appropriate name,
since the prompt is executing shell commands. If you want to have
directory completion (a plus), well, get a bash shell in your path.


More information about the Xmonad mailing list