Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eliminating the xterm



On Nov 17, 2007, at 7:51 PM, Francisco De La Cruz wrote:

Which is what I'm doing with "XTerm*LoginShell: true".
/etc/profile does even look at my .bash_profile but the .bashrc and / etc/bashrc.
This is the easiest way of accomplishing this.
Now, again, what are consecuences (negative) of forcing a loging shell all the time.
I tried commenting the line in ~/Xterm and exported PATH from ~/.bashrc to no avail.
Did I read you use zsh? How do set your PATH?


-f

With Leopard, system paths are set by path_helper. Leopard ships with / etc/zprofile calling path_helper by default. This file is sourced by zsh when a login shell is requested. Of course, the problem is that utilities like unison, which MacPorts installs in /opt/local/bin, need to be in the default path when they are called on a remote machine, and shells are not run as login shells when you use unison. Hence, if you need utilities in your path even when you aren't running a login shell, you probably have to move the call to path_helper into /etc/ zshenv.


--
Andrew J. Hesford <email@hidden>
Department of Electrical and Computer Engineering
University of Illinois at Urbana-Champaign

_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden
References: 
 >Fwd: Eliminating the xterm (From: "Nathaniel Gray" <email@hidden>)
 >Re: Eliminating the xterm (From: "Nathaniel Gray" <email@hidden>)
 >Re: Eliminating the xterm (From: Peter Collinson <email@hidden>)
 >Re: Eliminating the xterm (From: Ben Byer <email@hidden>)
 >Re: Eliminating the xterm (From: Francisco De La Cruz <email@hidden>)
 >Re: Eliminating the xterm (From: Bill Campbell <email@hidden>)
 >Re: Eliminating the xterm (From: Francisco De La Cruz <email@hidden>)
 >Re: Eliminating the xterm (From: "Mark E. Perkins" <email@hidden>)
 >Re: Eliminating the xterm (From: Jeremy Huddleston <email@hidden>)
 >Re: Eliminating the xterm (From: Francisco De La Cruz <email@hidden>)
 >Re: Eliminating the xterm (From: Jeremy Huddleston <email@hidden>)
 >Re: Eliminating the xterm (From: Francisco De La Cruz <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.