Move the bash completion sourcing to before setting $PS1.

This commit is contained in:
Scott Wallace 2016-01-27 15:51:13 +00:00
parent fad55152dc
commit f386bb22b8

12
.bashrc
View file

@ -37,6 +37,12 @@ if [ -n "$PS1" ]; then
fi
#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------
# Add bash completion scripts
#--------------------------------------------------------------------------------
for FILE in ~/.bash/auto_complete.d/*; do source ${FILE}; done
#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------
# A useful prompt
#--------------------------------------------------------------------------------
@ -75,12 +81,6 @@ alias gitx='open -a GitX .'
export GOPATH=${HOME}/src/go
#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------
# Add bash completion scripts
#--------------------------------------------------------------------------------
for FILE in ~/.bash/auto_complete.d/*; do source ${FILE}; done
#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------
# Run an SSH agent, if possible
#--------------------------------------------------------------------------------