mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
[bobthefish] Use hg root
instead of hg stat
for in_hg
This commit is contained in:
parent
212626b7bd
commit
30ac04ceda
@ -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)'
|
||||
|
Loading…
Reference in New Issue
Block a user