# C-Shell startup file
#
# Ben Michelson
# Frontline PCB Solutions

if ($?GENESIS_EDIR) then
   set ge = $GENESIS_EDIR
   alias ge 'cd $ge/\!:*'
   
   alias get '$GENESIS_EDIR/get/get \!:* &'
   alias gfx '$GENESIS_EDIR/get/gfx \!:* &'
   alias gfb '$GENESIS_EDIR/gfb/gfb \!:* &'
   alias gfl '$GENESIS_EDIR/gfl/gfl \!:* &'
else
   echo "Environment variable GENESIS_EDIR is not set"
endif

bindkey -b N-up up-history 
bindkey -b N-down down-history 
bindkey -b N-right forward-char 
bindkey -b N-left backward-char
bindkey -b N-del delete-char
bindkey -b N-ins overwrite-mode
bindkey -b N-1 which-command
bindkey -b N-2 expand-history
bindkey -b N-3 complete-word-raw
bindkey -b N-home beginning-of-line
bindkey -b N-end end-of-line

#extra section

# DOS friendly
alias a: 'cd a:/'
alias c: 'cd c:/'
alias d: 'cd d:/'
alias e: 'cd e:/'

set prompt = '% '
