mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
[bobthefish] One more hg speedup.
Send along the directory where we already found the .hg to throw hg a bone.
This commit is contained in:
parent
e17a6871b4
commit
2a2532b752
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user