summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/bashrc b/bashrc
index 03710ab..0764d63 100644
--- a/bashrc
+++ b/bashrc
@@ -18,10 +18,9 @@ esac # }}}
# aliases {{{
[ -f "$HOME/.aliases" ] && source $HOME/.aliases
# }}}
-# external files {{{
+# completion {{{
[ -f /etc/bash_completion ] && source /etc/bash_completion
[ -f /etc/profile.d/bash-completion ] && source /etc/profile.d/bash-completion
-source ~/.sh/cdhist.sh
# }}}
# bash configuration {{{
shopt -s extglob
@@ -40,6 +39,9 @@ if [[ -z "$PROMPT_COMMAND" ]]; then
else
export PROMPT_COMMAND="${PROMPT_COMMAND};history -a"
fi
+# plugins {{{
+source ~/.sh/cdhist.sh
+# }}}
# prompt {{{
export PROMPT_COMMAND="__err=\$?;$PROMPT_COMMAND;PS1=\"\$(fancy-prompt --prompt-escape bash "\$__err")\""
# }}}