aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2020-10-13 07:03:02 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2020-10-13 07:03:02 +0800
commitd6831e8aa874680638a6b108fed30ed9798b0b40 (patch)
treed4cc9b281eeb33a0e6a237f8457b1ab045db4805
parentb5bf9eb44d283109f86c390865b524eaa97ef0ea (diff)
update
-rw-r--r--alias2
1 files changed, 1 insertions, 1 deletions
diff --git a/alias b/alias
index 2f6e5f4..ba2fbf9 100644
--- a/alias
+++ b/alias
@@ -120,7 +120,7 @@ github() {
120 xdg-open https://github.com/$1/$2 120 xdg-open https://github.com/$1/$2
121} 121}
122github_api() { 122github_api() {
123 curl --header "Authorization: token $GITHUB_API_TOKEN" $GITHUB_API/$1 123 curl --header "Authorization: token $GITHUB_API_TOKEN" $GITHUB_API/$@
124} 124}
125gcg() { 125gcg() {
126 local user=$1; local repo=$2; shift; shift 126 local user=$1; local repo=$2; shift; shift