From e23997301125cfd34b3846fb22ab0b93676b7966 Mon Sep 17 00:00:00 2001 From: Holger Just Date: Tue, 17 May 2011 16:05:36 +0200 Subject: [PATCH] Use propper bash tests --- bin/bash_vcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/bash_vcs.sh b/bin/bash_vcs.sh index 4268a6d..f78d5dd 100755 --- a/bin/bash_vcs.sh +++ b/bin/bash_vcs.sh @@ -2,7 +2,7 @@ # Tim Felgentreff (09/20/01): Simplify for speedup, use the git-completion script for git __prompt_command() { - if [ -z $NOPROMPT ]; then + if [[ -z $NOPROMPT ]]; then local vcs base_dir sub_dir ref last_command _bold _normal _bold=$(tput bold)