[bobthefish] always use command hg

This commit is contained in:
Justin Hileman 2014-11-23 10:33:06 -08:00 committed by Bruno Pinto
parent 340a293517
commit 3620d70690

View File

@ -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