From 212626b7bd10113bfdc0e1b41df07004b667a133 Mon Sep 17 00:00:00 2001
From: Denis Kolesnikov <exsdis@gmail.com>
Date: Sun, 16 Nov 2014 17:54:58 +0700
Subject: [PATCH] Added bookmark support to bobthefish theme mercurial prompt

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

diff --git a/themes/bobthefish/fish_prompt.fish b/themes/bobthefish/fish_prompt.fish
index 8f1bd34..23c9f0d 100644
--- a/themes/bobthefish/fish_prompt.fish
+++ b/themes/bobthefish/fish_prompt.fish
@@ -85,8 +85,9 @@ function __bobthefish_git_branch -d 'Get the current git branch (or commitish)'
 end
 
 function __bobthefish_hg_branch -d 'Get the current hg branch'
-  set -g branch (hg branch ^/dev/null)
-  echo "$__bobthefish_branch_glyph $branch"
+  set -l branch (hg branch ^/dev/null)
+  set -l book " @ "(hg book | grep \* | cut -d\  -f3)
+  echo "$__bobthefish_branch_glyph $branch$book"
 end
 
 function __bobthefish_pretty_parent -d 'Print a parent directory, shortened to fit the prompt'
-- 
GitLab