#!/bin/shSave this somewhere in your path, make it excecutable (chmod 755 script_name) and then type 'rehash' to activate it. Now simply type the name of the script when you wish to create a new alias.
echo -n "Enter the CMD you want to make an alias for: " ; read CMD ;
echo -n "Enter the alias without quotes: " ; read ALIAS ;
echo "alias" $CMD "'"$ALIAS"'" >> /Users/$USER/.cshrc
echo " "
tail -1 /Users/$USER/.cshrc
echo " "
echo "You need to relogin now!"
su -l $USER
[Editor's note: If you use the OS X convention of an "aliases.mine" file in ~/Library/init/tcsh, simply replace ".cshrc" with that path and filename on the two lines where it appears.]

