From ffe831d659c0c61ba8a797640e99b3fb8bb00bd1 Mon Sep 17 00:00:00 2001 From: oGre Date: Sat, 12 Sep 2015 17:48:43 +0200 Subject: [PATCH] Missed two functions --- gitprompt.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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