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)