dotfiles

view .bashrc @ 3:4c1ead2dc501

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