On Fri, 2005-12-16 at 16:48 +1100, Lennon Cook wrote:
> what I want is a way to move aliases into the exported environment,
> so that X has them when it parses .xinitrc, and so that other
> processes run from there have it.

You can't, since aliases are a feature of the shell itself, and only
make sense within that shell. They're not part of the OS in the way that
environment variables are. You mentioned a mini-shell in ROX earlier -
unless that's actually running a copy of bash and not just executing
single commands, your bash aliases would be meaningless to it.

Regarding .xinitrc, you *could* make them available to that file by
sourcing the file that defines the aliases - however, that still applies
only to that file, not to any other processes it starts.

Simon.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to