feat(config): auto-load GITHUB_TOKEN and add obscura skill source

This commit is contained in:
Prad Nukala committed 2026-09-30 15:02:23 -04:00
1 parent ed0c539418
commit a6ca8998e4
6 files changed
+44 -5

No files matched your search

+8
View File
@@ -28,6 +28,14 @@ set -gx ANDROID_SDK_ROOT $ANDROID_HOME
# Git hosts (non-secret; tokens are in secrets.fish)
set -gx GITEA_LOGIN prad.codes
set -gx GITLAB_HOST git.sonr.org
# GITHUB_TOKEN from gh's keyring login — never stored on disk. An inherited
# value wins, so nested shells skip the gh call.
if not set -q GITHUB_TOKEN; and command -q gh
set -l _gh_token (gh auth token 2>/dev/null)
test -n "$_gh_token"; and set -gx GITHUB_TOKEN $_gh_token
end
set -gx EDITOR nvim
set -gx VISUAL nvim