dotfiles
changeset 1:41e1e617711d
added more files
author | meillo@marmaro.de |
---|---|
date | Sat, 14 Apr 2007 13:08:01 +0200 |
parents | a5f356e3bebc |
children | ed27560e11be |
files | .bashrc .inputrc .keymaprc .xmodmaprc |
diffstat | 4 files changed, 88 insertions(+), 0 deletions(-) [+] |
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
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/.inputrc Sat Apr 14 13:08:01 2007 +0200 2.3 @@ -0,0 +1,4 @@ 2.4 +"\e[5~": history-search-backward 2.5 +"\e[6~": history-search-forward 2.6 + 2.7 +set bell-style=visual
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/.keymaprc Sat Apr 14 13:08:01 2007 +0200 3.3 @@ -0,0 +1,3 @@ 3.4 +# this file is invoked by a shellscript started on init 3.5 +# have the caps lock key as escape 3.6 +keycode 58 = Escape
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/.xmodmaprc Sat Apr 14 13:08:01 2007 +0200 4.3 @@ -0,0 +1,14 @@ 4.4 +! have CAPS_LOCK as second ESC 4.5 +remove Lock = Caps_Lock 4.6 +keysym Caps_Lock = Escape 4.7 + 4.8 + 4.9 +! to enable my multimedia keys 4.10 +keycode 144 = F30 4.11 +keycode 153 = F31 4.12 +keycode 162 = F32 4.13 +keycode 164 = F33 4.14 +keycode 176 = F34 4.15 +keycode 174 = F35 4.16 +keycode 129 = F26 4.17 +keycode 160 = F27