mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
[bobthefish] One more cleanup.
This commit is contained in:
parent
c8853f6f61
commit
e17a6871b4
@ -107,7 +107,7 @@ function __bobthefish_hg_project_dir -d 'Print the current hg project base direc
|
|||||||
[ "$theme_display_hg" = 'no' ]; and return
|
[ "$theme_display_hg" = 'no' ]; and return
|
||||||
set d (pwd)
|
set d (pwd)
|
||||||
while not [ $d = / ]
|
while not [ $d = / ]
|
||||||
if test -e $d/.hg
|
if [ -e $d/.hg ]
|
||||||
command hg root ^/dev/null
|
command hg root ^/dev/null
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user