2009-04-26 16:55:34 +10:00
|
|
|
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
|
2008-12-17 23:32:26 +11:00
|
|
|
|
2009-04-26 16:55:34 +10:00
|
|
|
if [ $system_name == 'Darwin' ]; then
|
|
|
|
source ~/.gemdoc
|
|
|
|
source ~/.terminal
|
2009-04-26 17:02:57 +10:00
|
|
|
else
|
|
|
|
if [ -f /etc/bash_completion ]; then
|
|
|
|
. /etc/bash_completion
|
|
|
|
fi
|
2009-04-26 16:55:34 +10:00
|
|
|
fi
|
|
|
|
|
2009-06-10 13:02:44 +10:00
|
|
|
export PS1=' [`pwd`$(__git_ps1 " \[${COLOR_RED}\](%s)\[${COLOR_NC}\]")]\n$ '
|
|
|
|
|
|
|
|
function __pair_status {
|
|
|
|
hitchstatus " %s";
|
|
|
|
}
|
2008-08-08 17:04:10 +10:00
|
|
|
|
|
|
|
# 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
|
2008-08-08 17:04:10 +10:00
|
|
|
shopt -s histappend
|
2009-06-10 13:02:44 +10:00
|
|
|
shopt -s globstar
|
2008-08-08 17:04:10 +10:00
|
|
|
|
2009-04-26 16:55:34 +10:00
|
|
|
complete -C ~/.rake-completion.rb -o default rake}
|
2009-09-06 00:36:43 +10:00
|
|
|
if [ -f ~/.rvm/bin/rvm ] ; then source ~/.rvm/bin/rvm ; fi
|