dotfiles

view .bashrc @ 4:68dd6ae11835

lots of minor adjustments; some major things in bashrc & inputrc
author meillo@marmaro.de
date Tue, 04 Sep 2007 22:04:31 +0200
parents 4c1ead2dc501
children f8789f33df8c
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 # one history for all
22 shopt -s histappend
23 PROMPT_COMMAND='history -a'
25 # command prompt
26 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 \$ '
28 # If this is an xterm set the title to user@host:dir
29 case "$TERM" in
30 xterm*|rxvt*)
31 PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
32 ;;
33 *)
34 ;;
35 esac
38 # aliases
40 alias ls='ls -F --color=auto'
41 alias ll='ls -lF'
42 alias lh='ls -lhF'
43 alias la='ls -AF'
45 alias dh='df -h'
47 # standard options
48 alias cal='cal -m'
49 alias xpdf='xpdf -z page'
51 alias serveme='ssh meillo@192.168.0.100'
53 alias du1='du -h --max-depth=1 --exclude=".?*" ' # -> shellscript instead of alias
54 alias du2='du -h --max-depth=2 --exclude=".?*" ' # -> shellscript instead of alias
56 #alias fireworks='wine /usr/share/Fireworks4/Fireworks\ 4.exe'
57 #alias stendhal='java -jar /home/meillo/Spiele/Stendhal/stendhal'
60 # vars
62 export PATH=$PATH:/home/meillo/Prog/Shell/bin
64 export VISUAL=vim
65 export EDITOR=vim
67 export DEBEMAIL=meillo@marmaro.de
68 export DEBFULLNAME="markus schnalke"
70 export HISTSIZE=10000
71 export HISTFILESIZE=$HISTSIZE
72 export HISTCONTROL=ignoredups
75 # enable programmable completion features (you don't need to enable
76 # this, if it's already enabled in /etc/bash.bashrc and /etc/profiles
77 # sources /etc/bash.bashrc).
78 if [ -f /etc/bash_completion ]; then
79 . /etc/bash_completion
80 fi