diff options
-rw-r--r-- | alias | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -120,7 +120,7 @@ github() { | |||
120 | xdg-open https://github.com/$1/$2 | 120 | xdg-open https://github.com/$1/$2 |
121 | } | 121 | } |
122 | github_api() { | 122 | github_api() { |
123 | curl --header "Authorization: token $GITHUB_API_TOKEN" $GITHUB_API/$1 | 123 | curl --header "Authorization: token $GITHUB_API_TOKEN" $GITHUB_API/$@ |
124 | } | 124 | } |
125 | gcg() { | 125 | gcg() { |
126 | local user=$1; local repo=$2; shift; shift | 126 | local user=$1; local repo=$2; shift; shift |