diff --git a/gitprompt.sh b/gitprompt.sh index 55b772c..f23a134 100755 --- a/gitprompt.sh +++ b/gitprompt.sh @@ -12,7 +12,9 @@ function async_run() { function async_run_zsh() { { eval "$@" &> /dev/null - }&! + + # `true` is used here to allow bash to parse the script, as the zsh `&!` syntax will otherwise stop parsing prior to any execution. + }&! true }