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


Click here to return to the 'Realtime alias creation for GUI app launches' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Realtime alias creation for GUI app launches
Authored by: mcon on Apr 03, '02 05:58:00PM

Still not working for me... v.frustrating.

My suspicion is that my home directory isn't being read by the terminal, as none of the aliases.mine stuff is being read.

I've got aliases to work, but only by loging in from the login screen (not by su in a terminal??) and adding them to /etc/csh.cshrc

this comes from sifting thru' the other hints on the subject, and making something that works, but at least this means I've got bb edit running under all users (including root) which is an advantage.

if someone can point me in the right direction as to why this is the case, some unix lessons would be usefull here...


mc



[ Reply to This | # ]
Hard to say why it isn't working
Authored by: porkchop_d_clown on Apr 03, '02 11:44:33PM

Without logging into your mac. But, to double check:

1. You created the folder "/Users/<YOU>/Library/init/tcsh".
2. You put the new script files in that folder.
3. One script is called "aliases.mine" and the other is called "rc.mine".

If you have already created modified the standard /etc/ scripts it's possible that you've changed things so that the Library scripts aren't getting run anymore. But I can't really tell without logging into your machine.



[ Reply to This | # ]
Hard to say why it isn't working
Authored by: mcon on Apr 05, '02 07:21:58AM

All was done just as you said.

In the course of my alias fiddling I followed the instructions in /usr/share/init/tsch/README

which included:

echo "source /usr/share/init/tcsh/rc" > ~/.tcshrc
echo "source /usr/share/init/tcsh/login" > ~/.login
echo "source /usr/share/init/tcsh/logout" > ~/.logout

To do this system-wide, do the same instead to /etc/csh.cshrc, /etc/csh.login, and /etc/csh.logout.

-------

if things are broken, are these general unix things, or just darwin specific 'cos I've got unix engineers around me at work?

shame there isn't a trusted way to let people 'fiddle' with your machine on line (at a price of course), a kind of doctors surgery if you like.


mc



[ Reply to This | # ]
Hard to say why it isn't working
Authored by: porkchop_d_clown on Apr 05, '02 01:39:31PM

<p>Hmmm... By default, my iBook already had the system-wide defaults installed, so I didn't have to do the echo thing. What happens if you delete or rename .tcshrc, .login and .logout?</p>



[ Reply to This | # ]