I'm working on Fedora 18 with tcsh on a network with a lot of pre-defined aliases. I'm adding my own personal aliases as well, but I want to be able to display these in a separate list.
Right now I have a
.cshrc file that loads alias definitions from a
.alias file. This is the file with the pre-defined aliases. I thought to create a second file named
.myalias, put my personal aliases there, and have
.cshrc load that as well. That works fine.
Sadly, using the
alias command only lists ALL defined aliases. I want to list only my personal aliases from the
.myalias file, but in the same format as the output from the
alias command. Is there a way to do this?