aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-03-03 10:12:58 +0800
committertypebrook <typebrook@gmail.com>2020-03-03 10:12:58 +0800
commit8bf54a6e42aa231d730d7241ca1b7b908343cefa (patch)
tree7f966d90628693d584e434e71df0f7a3bb0131cf
parent00b136155183ae522ca458e540a8cf29bf525e74 (diff)
update
-rw-r--r--alias3
1 files changed, 3 insertions, 0 deletions
diff --git a/alias b/alias
index c32500b..053628e 100644
--- a/alias
+++ b/alias
@@ -89,6 +89,9 @@ alias github_token='xdg-open https://github.com/settings/tokens'
89github() { 89github() {
90 xdg-open https://github.com/$1/$2 90 xdg-open https://github.com/$1/$2
91} 91}
92github_api() {
93 curl --header "Authorization: token $GITHUB_API_TOKEN" $GITHUB_API/$1
94}
92gcg() { 95gcg() {
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}