2010-06-30 14:54:06 +10:00
|
|
|
[[ -f /etc/bash_completion ]] && source /etc/bash_completion
|
2010-06-29 22:20:19 +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
|
|
|
|
|
|
|
|
shopt -s checkwinsize
|
|
|
|
shopt -s histappend
|
|
|
|
shopt -s cdable_vars
|
|
|
|
shopt -s globstar 2>/dev/null # Bash 4 and above only
|
2010-06-30 18:02:23 +10:00
|
|
|
shopt -s nullglob
|
2010-06-29 22:20:19 +10:00
|
|
|
|
2010-06-30 14:54:06 +10:00
|
|
|
complete -C $DOT_FILES/bash/rake-completion.rb -o default rake}
|
|
|
|
|
|
|
|
alias reload="source ~/.bashrc"
|