+[ -f /etc/bash_completion ] && . /etc/bash_completion
+
# Add tab completion for `dit` by marking it as an alias for `git`
_completion_loader git
if type _git &>/dev/null; then
+++ /dev/null
-# .bash_profile is for making sure that both the things in .profile and .bashrc are loaded for login shell.
-
-[ -f "${HOME}/.profile" ] && . "${HOME}/.profile"
-[ -f "${HOME}/.bashrc" ] && . "${HOME}/.bashrc"
PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
# Load completion, aliases, and local
-[ -f /etc/bash_completion ] && . /etc/bash_completion
-#[ -f ~/.bash_completion ] && . ~/.bash_completion;
+[ -f ~/.bash_completion ] && . ~/.bash_completion;
[ -f ~/.bash_aliases ] && . ~/.bash_aliases;
[ -f ~/.bashrc.local ] && . ~/.bashrc.local
# colored GCC warnings and errors
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
-
+if [ ! "x${BASH_VERSION}" = "x" ]; then
+ [ -f "${HOME}/.bashrc" ] && . "${HOME}/.bashrc"
+fi