diff --git a/share/tools/web_config/sample_prompts/robbyrussell.fish b/share/tools/web_config/sample_prompts/robbyrussell.fish index ccc48bd9d..80a600004 100644 --- a/share/tools/web_config/sample_prompts/robbyrussell.fish +++ b/share/tools/web_config/sample_prompts/robbyrussell.fish @@ -34,9 +34,7 @@ function fish_prompt end function _is_hg_repo - type -q hg - or return 1 - hg summary >/dev/null 2>/dev/null + fish_print_hg_root >/dev/null end function _repo_branch_name