You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fisher/test/helpers/git-ls-remote.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