From 30ac04ceda13b8c426fa43f8f273ebc732348b21 Mon Sep 17 00:00:00 2001 From: Justin Hileman Date: Mon, 17 Nov 2014 18:39:26 -0800 Subject: [PATCH] [bobthefish] Use `hg root` instead of `hg stat` for in_hg --- themes/bobthefish/fish_prompt.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/bobthefish/fish_prompt.fish b/themes/bobthefish/fish_prompt.fish index 23c9f0d..85bbaf1 100644 --- a/themes/bobthefish/fish_prompt.fish +++ b/themes/bobthefish/fish_prompt.fish @@ -72,7 +72,7 @@ function __bobthefish_in_git -d 'Check whether pwd is inside a git repo' end function __bobthefish_in_hg -d 'Check whether pwd is inside a hg repo' - command hg stat > /dev/null 2>&1 + command hg root > /dev/null 2>&1 end function __bobthefish_git_branch -d 'Get the current git branch (or commitish)'