mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
[bobthefish] always use command hg
This commit is contained in:
parent
264b7cea78
commit
08f8217cbe
@ -85,8 +85,8 @@ function __bobthefish_git_branch -d 'Get the current git branch (or commitish)'
|
|||||||
end
|
end
|
||||||
|
|
||||||
function __bobthefish_hg_branch -d 'Get the current hg branch'
|
function __bobthefish_hg_branch -d 'Get the current hg branch'
|
||||||
set -l branch (hg branch ^/dev/null)
|
set -l branch (command hg branch ^/dev/null)
|
||||||
set -l book " @ "(hg book | grep \* | cut -d\ -f3)
|
set -l book " @ "(command hg book | grep \* | cut -d\ -f3)
|
||||||
echo "$__bobthefish_branch_glyph $branch$book"
|
echo "$__bobthefish_branch_glyph $branch$book"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user