ll aliasing

VGZ

Registered
I have been trying to change the alias ll is set to. It is currently set to ls -lag !* | more. I want to change it to ls -lAg !* | more. The problem is when I put the alias command to do so in my .tcshrc file it fails. I can't find where it is setting this alias. Its not set in tcsh.defaults. Does anybody know where this alias is created?

Thanks,
 
try
/usr/share/init/tcsh/aliases
..remember this effects all users.

adding a ll alias in your .tcshrc should prevail over this though.

 
/usr/share/init/tcsh/aliases

which is sourced by /usr/share/init/tcsh/rc
which is sourced by /etc/csh.cshrc

Sven
 
Thanks for the help. It would cause an error when I tried to alias something to ll in my .tcshrc file.

Thanks,
 
I believe you could do this in your personal .tcshrc:

unalias ll
alias ll ...

Also, the way the script initialization files are setup they will look in ~/Library/init/tcsh for a series of files such as:

aliases.mine
environment.mine

There are others, but you can uses these to personalize your environment without touching your master files.
 
Back
Top