]> git.donarmstrong.com Git - home-base.git/blob - .bashrc
moved everything into trunk
[home-base.git] / .bashrc
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
4
5 # If running interactively, then:
6 if [ "$PS1" ]; then
7
8     # don't put duplicate lines in the history. See bash(1) for more options
9     export HISTCONTROL=ignoredups
10     export EDITOR="/usr/bin/jed"
11     
12     # bts debian options
13     export DEBEMAIL="don@debian.org"
14
15     # enable color support of ls and also add handy aliases
16     eval `dircolors -b`
17     alias ls='ls --color=auto'
18     alias gr='gimp-remote-2.2'
19     alias emc='gnuclient'
20
21     # set a fancy prompt
22     PS1='\u@\h:\w\$ '
23
24     # If this is an xterm set the title to user@host:dir
25     #case $TERM in
26     #xterm*)
27     #    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
28     #    ;;
29     #*)
30     #    ;;
31     #esac
32
33     # enable programmable completion features (you don't need to enable
34     # this, if it's already enabled in /etc/bash.bashrc).
35     #if [ -f /etc/bash_completion ]; then
36     #  . /etc/bash_completion
37     #fi
38     
39     alias aumix2='aumix -d /dev/mixer1 -I'
40     export LANG="en_US.UTF-8"
41     export PATH="~/bin:$PATH"
42
43     TODO_OPTIONS="--timeout --summary"
44
45     cd ()
46     {
47         builtin cd "$@" && [ -r .todo ] && devtodo ${TODO_OPTIONS}
48     }
49
50     pushd ()
51     {
52         builtin pushd "$@" && [ -r .todo ] && devtodo ${TODO_OPTIONS}
53     }
54     
55     popd ()
56     {
57         builtin popd "$@" && [ -r .todo ] && devtodo ${TODO_OPTIONS}
58     }              
59     
60     # Run todo initially upon login
61     devtodo ${TODO_OPTIONS}
62
63 fi