# An example .cshrc file (MIT 2.680, Spring 2024) 
#-------------------------------------------------------
# Set the Shell Path
#-------------------------------------------------------
set path = ( /bin ) 
set path = ( $path /Applications/Emacs.app/Contents/MacOS )
set path = ( $path /usr/bin )
set path = ( $path /usr/local/bin )
set path = ( $path /opt/local/bin )
set path = ( $path /usr/X11/bin )
set path = ( $path /sbin )
set path = ( $path /usr/sbin )
set path = ( $path ~/moos-ivp/bin )

#-------------------------------------------------------
# Useful Aliases
#-------------------------------------------------------
alias rm   'rm -i'
alias cp   'cp -i'
alias mv   'mv -i'
alias ls   'ls -FG'
alias ll   'ls -hlG'
alias cdd  'cd ..'
alias cddd 'cd ../..'

#-------------------------------------------------------
# MOOS-IvP Aliases
#-------------------------------------------------------
alias cdmi   'cd ~/moos-ivp'
alias cdmm   'cdmi; cd ivp/missions'
alias cdmma  'cdmm; cd s1_alpha'
alias cdmis  'cdmi; cd ivp/src'
alias runa   'cdmma; pAntler alpha.moos'

#-------------------------------------------------------
# Some useful shell settings
#-------------------------------------------------------
unset savehist    # Don't store shell history between logins
set   ignoreeof   # Disallow ^d to close a shell
unset autologout  # Disallow shell to autologout after inactive period
set   autolist    # Allow for tab completions

alias pingoe 'ping 18.38.2.158'  # ping the course server
set   prompt="%m:%C2%% "

