# this is a sample .bashrc file # # If bash is not your default shell, this file is not # of much help. I prefer bash over tcsh. # If you want bash as default shell let the system admins know - # they can change the shell. # # I suggest to append this file to an existing ~/.bashrc file and to # tailor it to your needs (comment/uncomment lines): # emacs ~/.bashrc, go to the end of the file and issue ctrl-x i bashrc-file # del key #bind '"\e[3~":delete-char' # ctrl-c interrupts programs stty intr ^C # don't create core file #ulimit -c 0 # prompt depending on user name if [ "$USER" = "root" ] ; then export PS1="root:\h[\w]:" else export PS1="\h[\W]:" fi # adjust export NAME="YOUR NAME GOES HERE" export ORGANIZATION="University of Alberta" export DOMAIN="cs.ualberta.ca" export MAIL_ALIAS="YOUR USER NAME" export NNTPSERVER="nntp.ualberta.ca" # where to look for executables # remove the .: line if you don't want to execute commands # in the current directory "by accident" export PATH=\ .:\ /usr/local/bin:\ /bin:\ /sbin:\ /usr/sbin:\ /usr/bin:\ /usr/TeX/bin:\ /usr/X11R6/bin:\ /usr/bin/X11: # where to look for man pages export MANPATH=\ /usr/share/man:\ /usr/local/man:\ /usr/man:\ /usr/X11/man:\ /usr/X11R6/man # where to look for additional libraries (:-separated directory list) # export LD_LIBRARY_PATH= # other stuff export LS_COLORS=":no=00:fi=00:di=0;31:ln=0;34:pi=40;33:so=0;35:bd=40;33;0:cd=40;33;0:ex=00;35" export ARCH=`arch` export EDITOR=emacs export LESSCHARSET=latin1 export LESS="-Qei -m" export PAGER="less -s" export MORE='-c' # aliases (uncomment the ones you want to use) #function pwd() { echo $PWD; } # #function ls() { /bin/ls --color=auto "$@"; } #function ll() { ls -l "$@"; } #function lt() { ls -lrt "$@"; } #function l() { ls "$@"; } # #function h() { history "$@" | less; } # #function f() { find . -name "$*" -print; } # #function more() { less "$@"; } #function mo() { less "$@"; } # #function la() { latex *main.tex; } #function xd() { xdvi -mfmode ljfour:600 +statusline -hushstdout -keep -geometry 880x764-1+0 main.dvi & } #function ppp() { rm -f *% *~ .*% .*~ *.ii; } # #function makeps() { dvips -o main.ps -O0cm,2.0cm main.dvi; } #function makeps2() { dvips -o main.ps -O 0cm,6cm main.dvi; } #function makeps3() { dvips -o main.ps -O0cm,0cm main.dvi; } # #function mcd() { mount /mnt/cdrom; } #function ucd() { umount /mnt/cdrom; } # #function mfl() { mount /mnt/floppy; } #function ufl() { umount /mnt/floppy; } # #function xfig() { /usr/X11/bin/xfig $* >& /dev/null; } # #function ed() { emacs -nw "$@"; } #function x() { exit; } #function q() { exit; } #function quit() { exit; } # #function print() { lpr -P ath329 "$@"; } #function sdo() { sudo start.xterm -bg yellow -title ROOT; } # #function hal() { ssh -l mic 192.168.1.1; } # #function cvu() { cvs -z9 update "$@"; } #function cvc() { cvs -z9 commit "$@"; } ###