# Generic $dotdir/bashrc
# Engineering Services (ES)
#
##
# Things the user might wish to set.
export USER_PATH
USER_PATH="~/bin"
export EDITOR
EDITOR=vim # Preferred editor.
export PRINTER
PRINTER=lp # Preferred printer.
export NNTPSERVER
NNTPSERVER=usenet.cisco.com # Preferred news server.
#setenv TERM "xterm-color"
#setenv CLICOLOR "true"
#setenv LSCOLORS "exfxcxdxbxegedabagacad"
##
# Should the full environment be set up even for non-interactive shells?
# Probably not but here is a variable to control it.
export FULLENV
FULLENV=true # 'true' or 'false'
##
# Should all paths (even NFS, which might hang) be set up at login?
# The alias "fullpath" is available to setup your full path. It can
# also be used to change your path by changing USER_PATH above.
export FULLPATH
FULLPATH=true # 'true' or 'false'
################################################## #########################
# Everything above this line helps configure the environment.
# This line should not be removed.
#set dotdir="~/.files"; if ( -f $dotdir/sys_bashrc ) source $dotdir/sys_bashrc
#if ( $FULLENV != "true" && $?prompt == 0 ) exit
################################################## #########################
# Everything below this line is run for interactive shells.
# If you wish the full environment even in non-interactive
# shells set FULLENV above to 'true'.
umask 022 # no write by group or other
unset autologout # disable autologout
set filec # enable filename completion
set fignore=(.o) # don't complete .o files
set history=128 # save last 128 commands
set ignoreeof # disable ^D for logout
set noclobber # disable redirect overwrite
set notify # enable immediate job notify
set prompt="${HOST}:\!> " # shell prompt format
set cdpath =~ # where cd if dir unfound
alias u="uncompress"
alias t="tar -xvf"
alias im="cd $AUTOTEST/local/images"
alias et="cd $AUTOTEST/local/etc"
alias ar="cd $AUTOTEST/local/archive/01-03"
alias log="cd $AUTOTEST/local/logs"
alias test="cd $AUTOTEST/local/tests/cat5k"
alias c="clear"
alias cls="clear"
alias bd="cd syn_core/nmp/nmpflash/build"
alias br="cd ../../../.."
alias cftp="/users/XXXXX/tftp1"
alias bftp="/users/XXXXX/tftp2"
alias tree="cd /auto/c5ksw/XXXXX"
alias cs="/users/XXXXX/mybin/findcs"
#alias lftp="/users/XXXXX/tftp"
#alias cftp="/users/XXXXX/tftp1"
#alias nftp="/users/XXXXX/tftp2"
alias gftp="/users/XXXXX/tftp"
#
# Build cscope files
#
alias csf='rm cscope.files; find . -name \*.\[ch\] -print | grep -v nmpboot | grep -v rommon >cscope.files'
alias ws="cd /ws/XXXXX/"
stty erase ^H
set hostname=`uname -n`
alias setprompt='set prompt="\\
${hostname}:${cwd}\\
\! % "'
alias cd='chdir \!* && setprompt'
setprompt # sets the actual prompt
source /sw/packages/ccache/current/bin/setup-ccache
export SR_MGR_CONF_DIR
SR_MGR_CONF_DIR=~XXXXX/bin
if ( $?MAIL != 0 ) then
set mail=( $MAIL ) # mail spool
endif
# Local Variables:
# mode:shell-script
# sh-shell:bash
# End:
I used this script for my .bashrc file btu it showed an error that
bash: ./.bashrc: line 153: syntax error: unexpected end of file
Could someone please help me regarding this.............

