summaryrefslogtreecommitdiffstats
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc8
1 files changed, 6 insertions, 2 deletions
diff --git a/.bashrc b/.bashrc
index 1593a35..05fe90c 100644
--- a/.bashrc
+++ b/.bashrc
@@ -59,9 +59,13 @@ appid() {
codesign -dr - "$@"
}
-homebrew_token() {
- HOMEBREW_GITHUB_API_TOKEN=$(pass personal/github | grep homebrew_token | awk '{ print $NF}')
+github_ratelimit_token() {
+ local token
+ token=$(pass personal/github | grep rate_limit_token | awk '{ print $NF}')
+ HOMEBREW_GITHUB_API_TOKEN=$token
+ GITHUB_TOKEN=$token
export HOMEBREW_GITHUB_API_TOKEN
+ export GITHUB_TOKEN
}
if command -v neomutt 1>/dev/null 2>&1; then