diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-03-13 14:02:58 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-03-13 14:02:58 +0800 |
commit | 654a1575b40d2b99dae8f3875ea1f5577248b89c (patch) | |
tree | 9a169cc19ec3f8b1a4f6ba51d1072c727a19de09 | |
parent | 3d0f0b1fd6f7d375a0580cfecf7975c87a67aa7a (diff) |
update
-rw-r--r-- | alias | 2 | ||||
-rw-r--r-- | gpg-agent | 2 |
2 files changed, 2 insertions, 2 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 |
@@ -1,2 +1,2 @@ | |||
1 | default-cache-ttl 86400 | 1 | default-cache-ttl 604800 |
2 | max-cache-ttl 604800 | 2 | max-cache-ttl 604800 |