mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
[bobthefish] One more cleanup.
This commit is contained in:
parent
1e9893102e
commit
b4cd761843
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user