mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-19 09:25:40 +00:00
15 lines
386 B
Fish
15 lines
386 B
Fish
function -S git
|
|
if contains -- ls-remote $argv
|
|
switch (basename (pwd))
|
|
case foo
|
|
echo https://github.com/foo/foo
|
|
case bar
|
|
echo https://github.com/bar/bar
|
|
case baz
|
|
echo https://github.com/baz/baz
|
|
case norf
|
|
echo https://gist.github.com/norf
|
|
end
|
|
end
|
|
end
|