Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A subtle fix for hard-to-diagnose installer hangs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A subtle fix for hard-to-diagnose installer hangs
Authored by: jolinwarren on Jul 25, '05 09:27:40AM
You can put your alias in '.login' instead of '.cshrc'. The '.login' file is only run for login shells (which the installer script does not qualify as, presumably). From the man page for tcsh:

    Non-login shells read only /etc/csh.cshrc and ~/.tcshrc or ~/.cshrc on startup.


By putting your alias in '.login', you can continue to benefit from it in the terminal without causing installer problems.

[ Reply to This | # ]
A subtle fix for hard-to-diagnose installer hangs
Authored by: gidds on Jul 25, '05 04:39:21PM
Well, yes, but...

Environment variables are inherited by subshells (which is why .login, or .zlogin, is a good place for them). Aliases aren't. So any time your login shell happens to launch a subshell (e.g. when you shell out from vi or ftp or whatever), your aliases aren't available.

---
Andy/

[ Reply to This | # ]