meillo@3: # markus schnalke -- http://marmaro.de meillo@3: # meillo@3: # modified standard bashrc of debian sarge meillo@3: # meillo@3: meillo@3: meillo@1: # ~/.bashrc: executed by bash(1) for non-login shells. meillo@1: # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) meillo@1: # for examples meillo@1: meillo@1: # If not running interactively, don't do anything: meillo@1: [ -z "$PS1" ] && return meillo@1: meillo@1: # check the window size after each command and, if necessary, meillo@1: # update the values of LINES and COLUMNS. meillo@1: shopt -s checkwinsize meillo@1: meillo@1: # enable colored ls output meillo@1: eval "`dircolors -b $HOME/.dircolorsrc`" meillo@1: meillo@1: # command prompt meillo@1: 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: meillo@1: # If this is an xterm set the title to user@host:dir meillo@1: case "$TERM" in meillo@1: xterm*|rxvt*) meillo@1: PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"' meillo@1: ;; meillo@1: *) meillo@1: ;; meillo@1: esac meillo@1: meillo@1: meillo@1: # aliases meillo@1: meillo@1: alias ls='ls -F --color=auto' meillo@1: meillo@1: alias ll='ls -lF' meillo@1: alias lh='ls -lhF' meillo@1: alias la='ls -AF' meillo@1: meillo@1: alias dh='df -h' meillo@1: meillo@3: alias du1='du -h --max-depth=1 --exclude=".?*" ' # -> shellscript instead of alias meillo@3: alias du2='du -h --max-depth=2 --exclude=".?*" ' # -> shellscript instead of alias meillo@1: meillo@1: alias serveme='ssh meillo@192.168.0.100' meillo@1: meillo@1: alias fireworks='wine /usr/share/Fireworks4/Fireworks\ 4.exe' meillo@1: alias stendhal='java -jar /home/meillo/Spiele/Stendhal/stendhal' meillo@1: meillo@1: meillo@1: # vars meillo@1: meillo@1: export PATH=$PATH:/home/meillo/Prog/Shell/bin meillo@1: meillo@1: export VISUAL=vim meillo@1: export EDITOR=vim meillo@1: meillo@1: export DEBEMAIL=meillo@marmaro.de meillo@1: export DEBFULLNAME="markus schnalke" meillo@1: meillo@1: export HISTSIZE=10000 meillo@1: export HISTFILESIZE=$HISTSIZE meillo@1: export HISTCONTROL=ignoredups meillo@1: meillo@1: meillo@1: # enable programmable completion features (you don't need to enable meillo@1: # this, if it's already enabled in /etc/bash.bashrc and /etc/profiles meillo@1: # sources /etc/bash.bashrc). meillo@1: if [ -f /etc/bash_completion ]; then meillo@1: . /etc/bash_completion meillo@1: fi