aboutsummaryrefslogtreecommitdiffhomepage
path: root/alias
diff options
context:
space:
mode:
Diffstat (limited to 'alias')
-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}