Re: Readline initialization in .bash_profile -> Xquartz crash
Re: Readline initialization in .bash_profile -> Xquartz crash
- Subject: Re: Readline initialization in .bash_profile -> Xquartz crash
- From: Harald Hanche-Olsen <email@hidden>
- Date: Fri, 22 Feb 2008 13:48:32 +0100 (CET)
+ Harald Hanche-Olsen <email@hidden>:
> + Jeremy Huddleston <email@hidden>:
>
> > No... that won't work because startx will still source ~/.bashrc
> > (not .bash_profile) even if we do that.
>
> No:
Uh, yes ... I just realized that when bash is run using
/bin/bash --login /usr/X11/bin/startx
then of course the startx script is run with bash, not with sh, the
initial #!/bin/sh line in startx notwithstanding.
The cure, of course, is to run instead
/bin/bash --login -c /usr/X11/bin/startx
or even
/bin/bash --login -c 'exec /usr/X11/bin/startx'
to save a process. Right this time around? (Jeremy, when I post a
brain fart like that it's ok to tell me. I can take it.)
- Harald
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden