From f386bb22b88151147b7e58d6059a033081e0fc91 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Wed, 27 Jan 2016 15:51:13 +0000 Subject: [PATCH] Move the bash completion sourcing to before setting $PS1. --- .bashrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.bashrc b/.bashrc index d81ff03..9b2b016 100644 --- a/.bashrc +++ b/.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 #--------------------------------------------------------------------------------