diff options
Diffstat (limited to 'alias')
-rw-r--r-- | alias | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -174,7 +174,7 @@ alias ch='check' | |||
174 | 174 | ||
175 | # github | 175 | # github |
176 | export GITHUB_API='https://api.github.com' | 176 | export GITHUB_API='https://api.github.com' |
177 | export GITHUB_API_TOKEN="$(cat $SETTING_DIR/tokens/github 2>/dev/null)" | 177 | export GITHUB_API_TOKEN="~/.ssh/tokens/github 2>/dev/null)" |
178 | alias hub="GITHUB_TOKEN=$GITHUB_API_TOKEN hub" | 178 | alias hub="GITHUB_TOKEN=$GITHUB_API_TOKEN hub" |
179 | github() { | 179 | github() { |
180 | xdg-open https://github.com/$1/$2 | 180 | xdg-open https://github.com/$1/$2 |