Move the bash completion sourcing to before setting $PS1.
This commit is contained in:
parent
fad55152dc
commit
f386bb22b8
12
.bashrc
12
.bashrc
|
@ -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
|
||||
#--------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue