From ec096ac7cb6964b5c114d59e57f12ff326ac5097 Mon Sep 17 00:00:00 2001 From: Bodaniel Jeanes Date: Wed, 30 Jun 2010 18:01:07 +1000 Subject: [PATCH] Hardcode vcprompt as it is only used in one place --- shell/common.sh | 1 - shell/prompt.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/shell/common.sh b/shell/common.sh index caf7ecf..ad6869d 100644 --- a/shell/common.sh +++ b/shell/common.sh @@ -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 diff --git a/shell/prompt.sh b/shell/prompt.sh index ca2e78d..52dd304 100644 --- a/shell/prompt.sh +++ b/shell/prompt.sh @@ -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) "