Merge pull request #56 from erikpukinskis/master

Move last little bit of script into a function so local is available
master
Martin Gondermann 12 years ago
commit 2838579462
  1. 4
      gitprompt.sh

@ -277,6 +277,7 @@ function prompt_callback_default {
return
}
function run {
if [ "`type -t prompt_callback`" = 'function' ]; then
prompt_callback="prompt_callback"
else
@ -307,3 +308,6 @@ fi
git_prompt_dir
source "$__GIT_PROMPT_DIR/git-prompt-help.sh"
}
run
Loading…
Cancel
Save