summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-04-10 14:17:50 +0200
committerAhmed Abdelhalim <[email protected]>2026-04-10 14:17:50 +0200
commit859dd28e2e00f0f9a020b760add653e3941bd0e4 (patch)
tree86efe4f83bdb7a977827ea9d1d889cc069c43651
parent42f4160313a024fa92c09f455b9fa6432777e464 (diff)
Update rate limit token for github
-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