Skip to content

Commit a14dfc1

Browse files
committed
chore(authinfo): update credentials
1 parent 0a9e02d commit a14dfc1

2 files changed

Lines changed: 1 addition & 0 deletions

File tree

config/zsh/.zshrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ if [[ -f ~/.authinfo.gpg ]]; then
4141
fi
4242

4343
if [[ -f "$_AUTHINFO_CACHE" ]]; then
44+
export GH_TOKEN=$(awk '/^machine github\.com.*login tshu-w password / {print $NF; exit}' "$_AUTHINFO_CACHE")
4445
export OPENROUTER_API_KEY=$(awk '/^machine openrouter\.ai/ {print $NF}' "$_AUTHINFO_CACHE")
4546
export DEEPSEEK_API_KEY=$(awk '/^machine api\.deepseek\.com/ {print $NF}' "$_AUTHINFO_CACHE")
4647
export KIMI_API_KEY=$(awk '/^machine api\.moonshot\.cn/ {print $NF}' "$_AUTHINFO_CACHE")

runcom/dot-authinfo.gpg

-105 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)