diff options
| -rw-r--r-- | alias | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -89,6 +89,9 @@ alias github_token='xdg-open https://github.com/settings/tokens' | |||
| 89 | github() { | 89 | github() { |
| 90 | xdg-open https://github.com/$1/$2 | 90 | xdg-open https://github.com/$1/$2 |
| 91 | } | 91 | } |
| 92 | github_api() { | ||
| 93 | curl --header "Authorization: token $GITHUB_API_TOKEN" $GITHUB_API/$1 | ||
| 94 | } | ||
| 92 | gcg() { | 95 | gcg() { |
| 93 | git clone git@github.com:$1/$2.git && cd $(basename $2) | 96 | git clone git@github.com:$1/$2.git && cd $(basename $2) |
| 94 | } | 97 | } |