mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-12-04 15:53:45 +08:00
4 lines
165 B
Fish
4 lines
165 B
Fish
|
function omf_util_fork_repo -a user repo
|
||
|
curl -u "$user" --fail --silent https://api.github.com/repos/$repo/forks \
|
||
|
-d "{\"user\":\"$user\"}" >/dev/null ^&1
|
||
|
end
|