Managed with chezmoi. Check out this blog post.
Common chezmoi commands
# edit a file
chezmoi edit ~/.zshrc
# see the change that would be applied
chezmoi diff
# apply the change
chezmoi apply
# change to the chezmoi directory to commit changes
chezmoi cd
- Install Oh-my-zsh and custom plugins
# custom plugins
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
- Install Homebrew and then brew managed deps
# save the file locally as Brewfile. https://github.com/gavinest/dotfiles/blob/main/Brewfile
# install the dependencies
brew bundle
- Install
chezmoi
using the dotfiles repo command
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply $GITHUB_USERNAME
- Use vim-plug to install vim extensions
# install vimplug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# enter vim then run
:PlugInstall
- global python setup
asdf plugin-add python
asdf install python latest
asdf global python $(asdf list python | sort -V | tail -n 1)
pip install --upgrade pip && pip install ipython