codehenry / xmonad

Automatically exported from code.google.com/p/xmonad
0 stars 0 forks source link

[PATCH] XMonad/Prompt/Directory.hs fix issue on standard unixes #472

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
XMonad/Prompt/Directory.hs is using /bin/bash, this is not only unportable, but 
also very not standard.

Because of this XMonad/Prompt/Directory.hs doesn't work on FreeBSD for example. 
Because there is no /bin/sh, you can however install bash to /usr/local/bin/

Attached patch fixes this by simply removing /bin/ and leaving shell to figure 
out where is bash located

I'm using xmonad and xmonad-contib 0.9.2 from FreeBSD ports

Original issue reported on code.google.com by graude...@gmail.com on 21 Aug 2011 at 11:40

Attachments:

GoogleCodeExporter commented 8 years ago
Just noticed typo. I mean "Because there is no /bin/bash"

Original comment by graude...@gmail.com on 25 Feb 2012 at 5:44