1 # Main bash configuration file.
3 # Is sourced by all interactive shells and other shells like scp or rcp.
8 source_debug ". ~/.bash/rc"
10 source_config ~/.shell/env
13 # Check if this is an interactive shell. Abort if not to prevent problems with
14 # scp and rcp. Taken from default Debian bashrc. Thanks.
15 if [[ $- != *i* ]]; then
20 # Set the prompt; hostname and current working directory are displayed.
21 # Hostname is displayed in green, current directory in blue.
22 PS1='\[\033[01;32m\]\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\] \$ '
24 # Use Vi(m) style in bash.
28 source_config ~/.shell/aliases
30 source_config ~/.bash/rc.local
32 source_debug ". ~/.bash/rc (done)"