Re: starting window managers that need /usr/local/bin
Re: starting window managers that need /usr/local/bin
- Subject: Re: starting window managers that need /usr/local/bin
- From: magenta <email@hidden>
- Date: Thu, 13 Feb 2003 23:12:37 -0800
On Fri, Feb 14, 2003 at 12:59:14AM -0600, Randy Ford wrote:
> On Thursday, February 13, 2003, at 05:24 PM, RCohen wrote:
>
> > Thanks to Sean Ahern for setting me straight on this...
> >
> > Apparently .xinitrc operates in a bash environment, not a csh
> > environment.
>
> The first line in my ~/.xinitrc is as follows:
>
> #!/bin/sh
>
> That forces the script to be interpreted by the POSIX shell, not bash.
> (This is also the default for X11, as well as for most OS type things.
> On older systems, /bin/sh was the Bourne shell.) If you want to use
> tcsh to interpret it, use the following line instead:
>
> #!/bin/tcsh
>
> Then you could source your ~/.cshrc file, if you desired:
>
> source ~/.cshrc
Or just do it as
#!/bin/tcsh -l
to force it to run as a login shell.
--
http://trikuare.cx
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.