/dotfiles

My config files for setting up my system

Primary LanguageShell

dotfiles

My config files for setting up my system

Pacakages to Install

  • zsh
  • stow
  • golang
  • direnv
  • pygitup
  • tig

zsh

This is a git subtree of zsh-quickstart-kit. To update, follow the git subtree update strategy outlined by Atlassian blog:

Adding the subtree as a remote allows us to refer to it in shorter form:

git remote add -f zsh-quickstart-kit git@github.com:unixorn/zsh-quickstart-kit.git

(This is only done initially) Now we can add the subtree (as before), but now we can refer to the remote in short form:

git subtree add --prefix zsh zsh-quickstart-kit main --squash

The command to update the sub-project at a later date becomes:

git fetch zsh-quickstart-kit main
git subtree pull --prefix zsh zsh-quickstart-kit main --squash

Adding zsh completions

Here is how you can add new zsh completions, like adding Google Cloud SDK completions as indicated in brew caveats

mkdir -p ~/.zsh-completions
ln -s /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc ~/.zsh-completions/path.zsh.inc
ln -s /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc ~/.zsh-completions/completion.zsh.inc