Hardcode vcprompt as it is only used in one place

pull/2/head
Bodaniel Jeanes 2010-06-30 18:01:07 +10:00
parent 8c5fef8fc2
commit ec096ac7cb
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/local/mongodb/bin:/usr/local/pgsql/bin:/usr/X11/bin:/opt/local/bin:${PATH}"
CDPATH=".:${HOME}"
VCPROMPT="${HOME}/.config/misc/vcprompt.py"
source $DOT_FILES/$CURRENT_SHELL/config.*sh
source $DOT_FILES/shell/exports.sh

View File

@ -76,5 +76,5 @@ function prompt_vcs_if_bash() {
fi
}
RPS1='$(${VCPROMPT} -f $(color red)%b:%h$(color reset))'
RPS1='$(${HOME}/.config/misc/vcprompt.py -f $(color red)%b:%h$(color reset))'
PS1="\$(color blue)\$(prompt_pwd)\$(prompt_vcs_if_bash) \$(color \$(prompt_color))\$(prompt_char)\$(color reset) "