fisher/functions/__fisher_path_from_url.fish
2016-02-16 14:36:29 +09:00

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