8 lines
188 B
Bash
Executable file
8 lines
188 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
url="$(gitforge-url.ts "$1")"
|
|
case "$(uname)" in
|
|
Linux*) echo "$url" | clip;;
|
|
Darwin*) echo "$url" | pbcopy;;
|
|
*) echo "OS not supported"; exit 1;
|
|
esac |