dotfiles

annotate .bashrc @ 1:41e1e617711d

added more files
author meillo@marmaro.de
date Sat, 14 Apr 2007 13:08:01 +0200
parents
children ed27560e11be
rev   line source
meillo@1 1 # ~/.bashrc: executed by bash(1) for non-login shells.
meillo@1 2 # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
meillo@1 3 # for examples
meillo@1 4
meillo@1 5 # If not running interactively, don't do anything:
meillo@1 6 [ -z "$PS1" ] && return
meillo@1 7
meillo@1 8 # check the window size after each command and, if necessary,
meillo@1 9 # update the values of LINES and COLUMNS.
meillo@1 10 shopt -s checkwinsize
meillo@1 11
meillo@1 12 # enable colored ls output
meillo@1 13 eval "`dircolors -b $HOME/.dircolorsrc`"
meillo@1 14
meillo@1 15 # command prompt
meillo@1 16 PS1='\033[01;31m<\033[00m \h \033[01;31m|\033[00m \u \033[01;31m|\033[00m \w \033[01;31m>\033[00m\n \$ '
meillo@1 17
meillo@1 18 # If this is an xterm set the title to user@host:dir
meillo@1 19 case "$TERM" in
meillo@1 20 xterm*|rxvt*)
meillo@1 21 PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
meillo@1 22 ;;
meillo@1 23 *)
meillo@1 24 ;;
meillo@1 25 esac
meillo@1 26
meillo@1 27
meillo@1 28 # aliases
meillo@1 29
meillo@1 30 alias ls='ls -F --color=auto'
meillo@1 31
meillo@1 32 alias ll='ls -lF'
meillo@1 33 alias lh='ls -lhF'
meillo@1 34 alias la='ls -AF'
meillo@1 35
meillo@1 36 alias dh='df -h'
meillo@1 37
meillo@1 38 alias du1='du -h --max-depth=1 --exclude=".?*" '
meillo@1 39 alias du2='du -h --max-depth=2 --exclude=".?*" '
meillo@1 40
meillo@1 41 alias serveme='ssh meillo@192.168.0.100'
meillo@1 42
meillo@1 43 alias fireworks='wine /usr/share/Fireworks4/Fireworks\ 4.exe'
meillo@1 44 alias stendhal='java -jar /home/meillo/Spiele/Stendhal/stendhal'
meillo@1 45
meillo@1 46
meillo@1 47 # vars
meillo@1 48
meillo@1 49 export PATH=$PATH:/home/meillo/Prog/Shell/bin
meillo@1 50
meillo@1 51 export VISUAL=vim
meillo@1 52 export EDITOR=vim
meillo@1 53
meillo@1 54 export DEBEMAIL=meillo@marmaro.de
meillo@1 55 export DEBFULLNAME="markus schnalke"
meillo@1 56
meillo@1 57 export HISTSIZE=10000
meillo@1 58 export HISTFILESIZE=$HISTSIZE
meillo@1 59 export HISTCONTROL=ignoredups
meillo@1 60
meillo@1 61
meillo@1 62 # enable programmable completion features (you don't need to enable
meillo@1 63 # this, if it's already enabled in /etc/bash.bashrc and /etc/profiles
meillo@1 64 # sources /etc/bash.bashrc).
meillo@1 65 if [ -f /etc/bash_completion ]; then
meillo@1 66 . /etc/bash_completion
meillo@1 67 fi