# garden_dotfiles 1.0
source $HOME/.csh_env
source $GARDEN_DOTFILES/cshrc
# do not change this line or anything above it

# In this space, add commands that you want to have executed every
# time you start a new invocation of csh or tcsh.  This includes
# both c-shell variables and aliases.

# example alias
alias ls 'ls -F'
alias goodbash '/system/gnu/bin/$SYS/bash -rcfile /system/local/dotfiles/garden/bashrc'

# example set
#(causes you to be automatically logged out after 30 minutes idle time)
# set autologout = 30
set no autologout

# example prompt setting (uses the package 'csh_prompt')
# alias set_prompt 'set prompt = "`hostname`:$cwd% "'

alias reprompt 'set dir=`echo $cwd|tr a-z A-Z|sed -e s/\\//\\\\/g\;s/\\\(\\\\\[^\.\\\\\]\*\\\.\[^\.\\\\\]\*\\\)\[^\\\\\]\*/\\1/g\;s/\\\(\\\.\[^\.\\\\\]\[^\.\\\\\]\[^\.\\\\\]\\\)\[^\\\\\]\*/\\1/g\;s/\\\(\[^\.\\\\\]\[^\.\\\\\]\[^\.\\\\\]\[^\.\\\\\]\[^\.\\\\\]\[^\.\\\\\]\[^\.\\\\\]\[^\.\\\\\]\\\)\[^\.\\\\\]\*/\\1/g\;s/\\\.\\\\/\\\\/g\;s/\\\.\$//`;set prompt="C:"$dir"> "'
alias cd	'cd    \!*; reprompt'
alias chdir	 cd
alias pushd	'pushd \!*; reprompt'
alias popd	'popd; reprompt'
reprompt;
