mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-07 09:20:24 +00:00
17 lines
289 B
Fish
17 lines
289 B
Fish
function __fisher_path_from_url -a url
|
|
for file in $fisher_cache/*
|
|
pushd $file
|
|
|
|
switch "$url"
|
|
case (git ls-remote --get-url)
|
|
printf "%s\n" $file
|
|
popd
|
|
return
|
|
end
|
|
|
|
popd
|
|
end
|
|
|
|
return 1
|
|
end
|