dotfiles
diff .bashrc @ 1:41e1e617711d
added more files
author | meillo@marmaro.de |
---|---|
date | Sat, 14 Apr 2007 13:08:01 +0200 |
parents | |
children | ed27560e11be |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/.bashrc Sat Apr 14 13:08:01 2007 +0200 1.3 @@ -0,0 +1,67 @@ 1.4 +# ~/.bashrc: executed by bash(1) for non-login shells. 1.5 +# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 1.6 +# for examples 1.7 + 1.8 +# If not running interactively, don't do anything: 1.9 +[ -z "$PS1" ] && return 1.10 + 1.11 +# check the window size after each command and, if necessary, 1.12 +# update the values of LINES and COLUMNS. 1.13 +shopt -s checkwinsize 1.14 + 1.15 +# enable colored ls output 1.16 +eval "`dircolors -b $HOME/.dircolorsrc`" 1.17 + 1.18 +# command prompt 1.19 +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 \$ ' 1.20 + 1.21 +# If this is an xterm set the title to user@host:dir 1.22 +case "$TERM" in 1.23 +xterm*|rxvt*) 1.24 + PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"' 1.25 + ;; 1.26 +*) 1.27 + ;; 1.28 +esac 1.29 + 1.30 + 1.31 +# aliases 1.32 + 1.33 +alias ls='ls -F --color=auto' 1.34 + 1.35 +alias ll='ls -lF' 1.36 +alias lh='ls -lhF' 1.37 +alias la='ls -AF' 1.38 + 1.39 +alias dh='df -h' 1.40 + 1.41 +alias du1='du -h --max-depth=1 --exclude=".?*" ' 1.42 +alias du2='du -h --max-depth=2 --exclude=".?*" ' 1.43 + 1.44 +alias serveme='ssh meillo@192.168.0.100' 1.45 + 1.46 +alias fireworks='wine /usr/share/Fireworks4/Fireworks\ 4.exe' 1.47 +alias stendhal='java -jar /home/meillo/Spiele/Stendhal/stendhal' 1.48 + 1.49 + 1.50 +# vars 1.51 + 1.52 +export PATH=$PATH:/home/meillo/Prog/Shell/bin 1.53 + 1.54 +export VISUAL=vim 1.55 +export EDITOR=vim 1.56 + 1.57 +export DEBEMAIL=meillo@marmaro.de 1.58 +export DEBFULLNAME="markus schnalke" 1.59 + 1.60 +export HISTSIZE=10000 1.61 +export HISTFILESIZE=$HISTSIZE 1.62 +export HISTCONTROL=ignoredups 1.63 + 1.64 + 1.65 +# enable programmable completion features (you don't need to enable 1.66 +# this, if it's already enabled in /etc/bash.bashrc and /etc/profiles 1.67 +# sources /etc/bash.bashrc). 1.68 +if [ -f /etc/bash_completion ]; then 1.69 + . /etc/bash_completion 1.70 +fi