Home for my (Jon) dotfiles and environment configuration
Consistency.
Common:
macOS:
- Homebrew
- iTerm2
Linux:
- Sway
Clone with submodules:
git clone --recurse-submodules https://github.com/<user>/dotfiles.git ~/.dotfilesIf already cloned without submodules:
git submodule update --init --recursiveGNU Stow manages symlinks from the dotfiles repo into $HOME. Each top-level directory is a stow package that mirrors the target directory structure.
Symlink all packages:
cd ~/.dotfiles
stow --verbose --target=$HOME */Symlink a specific package:
stow --verbose --target=$HOME bashRemove all symlinks:
stow --verbose --target=$HOME --delete */Re-stow (remove then re-symlink, useful after reorganizing):
stow --verbose --target=$HOME --restow */The Makefile wraps common setup tasks:
make # stow all packages + vim/shell setup
make stow # symlink all packages
make unstow # remove all symlinks
make vim # set up Vim/Vundle
make shell # clone shell dependencies (kube-ps1, zsh-git-prompt)- tpm — Tmux Plugin Manager (
tmux/.config/tmux/plugins/tpm)
Enjoy (or criticize) !