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

aliases | 2 comments | Create New Account
Click here to return to the 'aliases' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Authored by: tlr on May 05, '01 04:03:39PM

The default file for aliases is
here you can find the actual definitions of default aliases, with comment. For instance, one line read:
alias line 'sed -n '''!:1 p''' !:2' # line 5 file => show line 5 of file
which should answer some question ;-)

The recommended way to create new aliases is NOT creating a .tcshrc file, but instead:
1/ Create a directory named "init" in your Library directory (in your home dir), then a directory named "tcsh" inside;
2/ create a text file named "aliases.mine" in that ~/Library/init/tcsh. you can use TextEdit if you remind to save as text. Put your aliases definitions here.

[ Reply to This | # ]