Added system-wide zsh theme deployer.

This commit is contained in:
Aaron D. Lee
2025-12-13 23:52:12 -05:00
parent bcdc53a6e6
commit f0bad62bc1
5 changed files with 617 additions and 1 deletions

View File

@@ -106,4 +106,16 @@ source $ZSH/oh-my-zsh.sh
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias vispresso="vim ~/.config/espanso/match/base.yml"
# GitHub token helper
gh-token-setup() {
echo "Enter your GitHub username:"
read gh_user
echo "Enter your GitHub personal access token:"
read -s gh_token
git config --global credential.helper store
echo "https://${gh_user}:${gh_token}@github.com" > ~/.git-credentials
chmod 600 ~/.git-credentials
echo "✓ GitHub token configured!"
}