From d80d393abaf74ed0445841a80a8914740bf69fe8 Mon Sep 17 00:00:00 2001 From: Steven Spasbo Date: Fri, 1 Apr 2016 01:10:18 -0700 Subject: [PATCH] Added command wrapper --- themes/bureau.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/bureau.zsh-theme b/themes/bureau.zsh-theme index 2adb9e913..8838f1639 100644 --- a/themes/bureau.zsh-theme +++ b/themes/bureau.zsh-theme @@ -64,7 +64,7 @@ bureau_git_status() { } bureau_git_prompt () { - if git rev-parse --git-dir > /dev/null 2>&1; then + if $(command git rev-parse --git-dir > /dev/null 2>&1); then local _branch=$(bureau_git_branch) local _status=$(bureau_git_status) local _result="$ZSH_THEME_GIT_PROMPT_PREFIX$_branch"