dotfiles/bashrc

24 lines
612 B
Bash
Raw Normal View History

system_name=`uname -s` # Sets 'Darwin' or 'Linux' etc
2009-03-20 00:08:06 +11:00
source ~/.exports
source ~/.gitrc
source ~/.aliases
source ~/.save-directory
if [ $system_name == 'Darwin' ]; then
source ~/.gemdoc
source ~/.terminal
fi
2009-03-20 00:08:06 +11:00
export PS1='$(__git_ps1 "\[${COLOR_RED}\](%s)\[${COLOR_NC}\] ")\$ '
# readline settings
bind "set completion-ignore-case on"
bind "set bell-style none" # No bell, because it's damn annoying
bind "set show-all-if-ambiguous On" # this allows you to automatically show completion without double tab-ing
2009-03-20 00:08:06 +11:00
shopt -s checkwinsize
shopt -s histappend
complete -C ~/.rake-completion.rb -o default rake}