Config Files

Zu oft habe ich schon von vorne angefangen, ein neues System zu konfigurieren. Daher hier ein paar typische Konfigurationsdatein aus meinem Homeverzeichnis.

.profile

PS1="u@h:w $> "                               #Prompt (User, Maschine, Verzeichnis)
export PS1
os=`uname`                                       #Betriebssystem
pc=`uname -n`                                    #Alias der Maschine
case $pc in
    pc13289,pc13288 ) 
              ICF=./
	      ICC=./
 	      IDB=./
              source ~/bin/hello.sh ;;           #Spielerei
    pc13287 ) ICF=/opt/intel/compiler60/ia32/bin #intel FORTRAN-compiler 6.0
              ICC=/opt/intel/compiler60/ia32/bin #intel C-compiler 6.0
              IDB=./                             #
              source $ICF/ifcvars.sh
              source $ICC/iccvars.sh ;;
    pc13285 ) ICF=/opt/intel_fc_80/bin           #intel FORTRAN-compiler 8.0
              ICC=/opt/intel_cc_80/bin           #intel C-compiler 8.0
              IDB=/opt/intel_idb_73/bin          #intel debugger 7.3
              source $ICF/ifortvars.sh
              source $ICC/iccvars.sh
              source $IDB/idbvars.sh ;;
esac
case $os in
     OSF1 )  PATH=$PATH:./:/usr/local/bin:/usr/bin/X11/:/usr/bin ;
             export PATH ;
             test -x /usr/local/bin/bash && exec /usr/local/bin/bash ;;
     Linux ) PGI=/usr/local/pgi
             export PGI
             PATH=$PGI/linux86/bin:$ICF:$ICC:$IDB:$CDR:$PATH
             export PATH
             LD_LIBRARY_PATH=/usr/ax1321/apps/linux/libs:$LD_LIBRARY_PATH
             MANPATH=$MANPATH:$PGI/man
             export MANPATH
             export LD_LIBRARY_PATH
             export TEXINPUTS=$TEXINPUTS:/home/TeXte/Folien/prosper/ ;;
esac
if [ -x /usr/bin/fortune ] ; then
    echo
    /usr/bin/fortune
    echo
fi
 
test -x /usr/bin/bash && exec /usr/bin/bash
PATH=./:$PATH
 

.bashrc

alias ssh="ssh -X"
alias ll="ls -l"
alias la="ls -a"
alias a2ps="a2ps -R --font-size=12 --columns=1"
alias mutt="export LC_CTYPE=de_DE && mutt"
alias delbak="rm *~ && rm #*#"
alias sauber="rm -f *.aux && rm -f *.toc && rm -f *.out && rm -f *.log"
alias rmo="rm *.o && rm *.x"
alias eps2pdf="epstopdf"
alias rmhtml="rm *.html && rm *~"
alias opera="opera&"
alias hostname="hostname -d && hostname --ip-address && hostname"
alias xpdf="xpdf -z 100"
alias xfig="xfig -po -me -pap -a4 -lat -spec &"

.xemacs/custom.el

(custom-set-variables
 "(font-lock-maximum-decoration t)
 "(line-number-mode t)
 "(query-user-mail-address nil)
 "(user-mail-address "arne@localhost.de"))
(custom-set-faces
 "(default ((t (:size "14pt" :family "Courier"))) t)
 "(font-latex-math-face ((((class color) (background light)) (:foreground "red2"))))
 "(font-latex-string-face ((t (:foreground "green4"))) t)
 "(font-lock-comment-face ((((class color) (background light)) (:foreground "blue4" :background "#ddbb00"))))
 "(font-lock-constant-face ((((class color) (background light)) (:foreground "blue"))))
 "(font-lock-doc-string-face ((((class color) (background light)) (:foreground "green4"))))
 "(font-lock-function-name-face ((((class color) (background light)) (:foreground "red"))))
 "(font-lock-keyword-face ((((class color) (background light)) (:foreground "red3"))))
 "(font-lock-reference-face ((((class color) (background light)) (:foreground "red2"))))
 "(font-lock-string-face ((((class color) (background light)) (:foreground "green4"))))
 "(font-lock-type-face ((((class color) (background light)) (:foreground "purple"))))
 "(font-lock-variable-name-face ((((class color) (background light)) (:foreground "purple")))))
 
(setq minibuffer-max-depth nil)
 
Login
Valid HTML 4.01!