stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [STUMP] How to make `C-t !' take my own executables into account?


From: W Dan Meyer
Subject: Re: [STUMP] How to make `C-t !' take my own executables into account?
Date: Sat, 14 Mar 2009 17:34:22 +0000
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.90 (gnu/linux)

Bastien <address@hidden> writes:

> Joeli Hokkanen <address@hidden> writes:
>
>> Try this in your ~/.stumpwmrc:
>> (setq *shell-program* (stumpwm::getenv "SHELL"))
>
> Thanks.  It doesn't do anything.
>
> I'm launching stumpwm by ~/.xinitrc which just contains this line:
>
>   exec /home/guerry/install/git/stumpwm/stumpwm
>
> Any other idea?


Hi!

Obviously by default StumpWM executes from sh which is *not* bash.
You can change it to bash or stay with sh and, and your path in
.xinitrc (or .xsession)
export PATH=/home/guerry/bin:$PATH
Or define in StumpWM

(define-stumpwm-command "exec" ((cmd :shell "/bin/sh -c "))
"Run the shell command asynchronously. Output is discarded."
  (run-shell-command cmd))

Change sh to bash.

W Dan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]