My .cshrc

Aside from a bunch of environment variable settings and shortcuts to oft-used directories, I’m collecting in my .cshrc file some little aliases.

Here are a handful of my favorites:

# so meta
alias cshrc 'vi ~/.cshrc' 		

# note-taking is v important
alias notes 'vi ~/documents/notes.txt'	

# this one just makes me think I never do typos
alias sl ls				

# display directory contents after cd-ing (stolen from Wikipedia)
alias cd 'cd \!* && ls' 		

# yes I'm this lazy
alias status 'svn status' 		

# so v lazy
alias update 'svn update' 		

# makefiles woooo
alias build 'make clean ; make all'	

# only show warnings/errors
alias buildquiet 'make clean > /dev/null ; make all > /dev/null' 

# always show line numbers w/ grep results
alias grep 'grep -n'			

# teleport to a server (esp cool w/ PKA)
alias servername 'ssh -X username@servername' 

# resets the terminal. god i love a clean terminal window
alias r 'tput reset' 			

# new terminal window
alias term 'gnome-terminal &'		

# shut down the computer
alias goodnight	'sudo /sbin/shutdown -h -P -time "now"'