Relevant git-related setup from $HOME on a Mac.
The git control was taken from Atlassian's Dotfile Guide, setup using the following command.
git init --bare $HOME/.cfg
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
config config --local status.showUntrackedFiles no
echo "alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'" >> $HOME/.zshrcThis setup aliases config to git, so files can be added and committed using config add .zshrc, config commit -m "init commit", etc.
To setup the submodules, like fzf-tab, do this:
cd ~/.zsh_config/plugins/fzf-tab
git pull origin master # or whatever branch
cd ~
git add ~/.zsh_config/plugins/fzf-tab
git commit -m "Update fzf-tab"Terminal themes can be found here. Currently, I'm on Kanagawa Wave and Dragon depending on time of day.
Tools are split between two managers depending on their nature:
- Homebrew — system utilities that you install once and forget:
fzf,zoxide,starship, etc. These don't need version pinning and aren't project-specific. - mise — versioned runtimes and language toolchains: Python, Node, etc. Anything where you might need to switch versions per project.