[bobthefish] One more cleanup.

This commit is contained in:
Justin Hileman 2014-11-23 14:18:36 -08:00 committed by Bruno Pinto
parent 1e9893102e
commit b4cd761843

View File

@ -107,7 +107,7 @@ function __bobthefish_hg_project_dir -d 'Print the current hg project base direc
[ "$theme_display_hg" = 'no' ]; and return
set d (pwd)
while not [ $d = / ]
if test -e $d/.hg
if [ -e $d/.hg ]
command hg root ^/dev/null
return
end