Skip to content
Snippets Groups Projects
Commit 212626b7 authored by Denis Kolesnikov's avatar Denis Kolesnikov Committed by Justin Hileman
Browse files

Added bookmark support to bobthefish theme mercurial prompt

parent 548008b6
Branches
Tags
No related merge requests found
......@@ -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'
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment