diff --git a/gitprompt.sh b/gitprompt.sh index ed60902..e02fb68 100755 --- a/gitprompt.sh +++ b/gitprompt.sh @@ -1,7 +1,6 @@ #!/bin/sh -function async_run() -{ +function async_run() { { eval "$@" &> /dev/null }& @@ -421,8 +420,7 @@ function checkUpstream() { fi } -function replaceSymbols() -{ +function replaceSymbols() { if [[ -z ${GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING} ]]; then GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING=L fi