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