> From: Leonid Leibman <http://www.mediaone.net/~leonid> > Date: Wed, 27 Jun 2001 09:35:44 -0400 > > ---Executing: html-to-ascii > Hi, Robert -- I realized that I forgot how to do arguments in aliases > (like if I want the command "x" to > start xterm with the title foo if called "x foo"). Can you please send > me a sample .aliases file? Sorry > for bothering you..... I should have tar-ed my setup but I just found > out that I didn't do the root directory... > > Thanks! > alias a alias # a ls 'ls -F' a lstxt 'ls *.txt' a lsc 'ls *.c' a lsh 'ls *.h' a lsch 'ls *.[ch]' a gre 'grep \!* *.[ch]' alias setprompt 'set cwd_=$cwd:h;set prompt="${HOST}:/${cwd_:t}/${cwd:t}>"' a cd "cd \!*;setprompt" a f "pushd \!* > /dev/null;setprompt; ls" a b "popd > /dev/null;setprompt; ls" a d "f ../" a d2 "f ../../" a d3 "f ../../../" a sou 'source $HOME/.cshrc' a count 'cat *.[ch] | wc -l' # a crl 'c; f $HOME/latex/flow' a l 'latex *.tex' a vt 'v *.tex' a plane 'c; f $HOME/latex/plane' a crc 'c; f $HOME/proj/jumbo' a bul 'c; f $HOME/proj/BULLETS' a book 'c; f $HOME/proj/BOOKMARKS' a cfg 'c; f $HOME/proj/CFG' a bin 'f $HOME/bin' a down 'f $HOME/Download/' a lat 'f $HOME/latex' a tmp 'f $HOME/tmp' a letters 'f $HOME/letters' a proj 'f $HOME/proj' a proc 'f $HOME/proj/process' # a h history a jumbo 'xterm -title JUMBO -e ssh jumbo&' a home 'xterm -title HOME -e ssh oahu -l home&' a rmo "find . -name '*.o' -exec /bin/rm {} \;"