dotfiles

view .bashrc @ 1:41e1e617711d

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