diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2020-10-13 07:03:02 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2020-10-13 07:03:02 +0800 |
| commit | d6831e8aa874680638a6b108fed30ed9798b0b40 (patch) | |
| tree | d4cc9b281eeb33a0e6a237f8457b1ab045db4805 /alias | |
| parent | b5bf9eb44d283109f86c390865b524eaa97ef0ea (diff) | |
update
Diffstat (limited to 'alias')
| -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 |