[xmonad] darcs patch: XMonad.Core: make spawn smarter

Gwern Branwen gwern0 at gmail.com
Fri Sep 26 18:04:54 EDT 2008


On 2008.09.26 16:56:08 -0500, Spencer Janssen <spencerjanssen at gmail.com> scribbled 0.4K characters:
> On Sun, Sep 21, 2008 at 01:33:38AM -0400, gwern0 at gmail.com wrote:
> > Sun Sep 21 01:30:17 EDT 2008  gwern0 at gmail.com
> >   * XMonad.Core: make spawn smarter
> >   Have spawn examine $SHELL if it exists. $SHELL is the user's preferred shell, and may do many things the user wants but the default /bin/sh does not.
>
> I don't really see the advantage to this patch, convince me.

A user's shell when invoked as /bin/sh throws away a lot of their customizations and addons; I wrote this patch for a user on #xmonad who was perplexed why some of his scripts and other shell things were simply Not Working.

--
gwern
acid DSNET1 MP40 Club SAW 3848 SARL ANZUS TDR Internet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080926/bbddcd72/attachment.bin


More information about the xmonad mailing list