diff --git a/themes/bobthefish/fish_prompt.fish b/themes/bobthefish/fish_prompt.fish index b47b6efcaee53da93dc070240838281b256e166a..207cf159d225343c651214d2bb89a1dcea88c953 100644 --- a/themes/bobthefish/fish_prompt.fish +++ b/themes/bobthefish/fish_prompt.fish @@ -108,7 +108,7 @@ function __bobthefish_hg_project_dir -d 'Print the current hg project base direc set d (pwd) while not [ $d = / ] if [ -e $d/.hg ] - command hg root ^/dev/null + command hg root --cwd "$d" ^/dev/null return end set d (dirname $d)