From 3620d7069059a3799bba6a27deb459ee54a5388a Mon Sep 17 00:00:00 2001
From: Justin Hileman <justin@justinhileman.info>
Date: Sun, 23 Nov 2014 10:33:06 -0800
Subject: [PATCH] [bobthefish] always use `command hg`

---
 themes/bobthefish/fish_prompt.fish | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/themes/bobthefish/fish_prompt.fish b/themes/bobthefish/fish_prompt.fish
index 7805e8a..d934a48 100644
--- a/themes/bobthefish/fish_prompt.fish
+++ b/themes/bobthefish/fish_prompt.fish
@@ -85,8 +85,8 @@ function __bobthefish_git_branch -d 'Get the current git branch (or commitish)'
 end
 
 function __bobthefish_hg_branch -d 'Get the current hg branch'
-  set -l branch (hg branch ^/dev/null)
-  set -l book " @ "(hg book | grep \* | cut -d\  -f3)
+  set -l branch (command hg branch ^/dev/null)
+  set -l book " @ "(command hg book | grep \* | cut -d\  -f3)
   echo "$__bobthefish_branch_glyph $branch$book"
 end
 
@@ -234,7 +234,7 @@ function __bobthefish_prompt_user -d 'Display actual user if different from $def
 end
 
 function __bobthefish_prompt_hg -d 'Display the actual hg state'
-  set -l dirty   (command hg stat; or echo -n '*')
+  set -l dirty (command hg stat; or echo -n '*')
 
   set -l flags "$dirty"
   test "$flags"; and set flags ""
-- 
GitLab