The SHELL macro from config.h isn't used; instead, the shell is
grabbed with getenv("SHELL"). I guess this was the default behavior
before, but the last time I used st-0.1.1 I didn't mind having bash as
my shell, so I didn't catch it--sorry. The macro should be removed
from config.def.h if it's not used; attached is a patch for st-0.2
that doesn't use getenv(), which works for me because I don't have a
choice of setting $SHELL when dwm is launched. I'm sure someone will
have a better idea for handling this, or I could have changed the
termcmd in dwm's config.h, or whatever.

--Andrew Hills

Attachment: st-use-shell-macro.patch
Description: Binary data

Reply via email to