We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a9e02d commit a14dfc1Copy full SHA for a14dfc1
2 files changed
config/zsh/.zshrc
@@ -41,6 +41,7 @@ if [[ -f ~/.authinfo.gpg ]]; then
41
fi
42
43
if [[ -f "$_AUTHINFO_CACHE" ]]; then
44
+ export GH_TOKEN=$(awk '/^machine github\.com.*login tshu-w password / {print $NF; exit}' "$_AUTHINFO_CACHE")
45
export OPENROUTER_API_KEY=$(awk '/^machine openrouter\.ai/ {print $NF}' "$_AUTHINFO_CACHE")
46
export DEEPSEEK_API_KEY=$(awk '/^machine api\.deepseek\.com/ {print $NF}' "$_AUTHINFO_CACHE")
47
export KIMI_API_KEY=$(awk '/^machine api\.moonshot\.cn/ {print $NF}' "$_AUTHINFO_CACHE")
runcom/dot-authinfo.gpg
-105 Bytes
0 commit comments