My .bashrc:
# File: .bashrc - bash setup file # Sign: SLU # # Set TERM variable # case "$OS" in GNUemacs) export TERM=dumb ;; Windows_NT) export TERM=linux ;; Windows_95) export TERM=ansi ;; esac # # Setup environment variables # export PATH=$PATH:/usr/local/bin:/emacs/bin:/usr/X11R6.3/bin export MANPATH=/usr/local/man export DISPLAY=localhost:0.0 export PAGER=/usr/local/bin/less export LESSCHARSET="dos" export LESS="-isnMCd" # # Setup aliases, cd is a shell function # xcd() { cd $* d=`pwd` PS1="`basename $d`> " } alias cd=xcd cd . alias h=history alias ls='ls -F' alias ll='ls -l' alias e=runemacs alias startmix="//c/MIX_NT/TNTSTART.EXE startmix &" # # Extra key bindings # bind '"\e[1~":beginning-of-line' # home bind '"\e[3~":delete-char' # del key bind '"\e[4~":end-of-line' # end key echo `date` cd ~