flaws in xinitrc-ng

Elan Ruusamäe glen at pld-linux.org
Mon Jan 30 06:34:48 CET 2012

On 01/30/2012 12:17 AM, Tomasz Pala wrote:
>> >  for first problem, make all -x scripts executed, not sourced?
> If you want to execute some code, just create #!sh script with proper
> commands and source it. That's the same rule we follow for many other
> scripts using sth.d for config inclusion (e.g. login shell startup).

you mean this?

if [ -x "$i" ]; then
elif [ -f "$i" ]; then
	. "$i"


More information about the pld-devel-en mailing list