Dotfiles for macOS. Includes config for zsh, tmux, nvim, git and more.
Rename the template private_env.template to .private_env and fill in your details.
git clone https://github.com/TheNewThinkTank/dotfiles.git ~/Documents/projects/dotfiles
cd ~/Documents/projects/dotfiles
./bootstrap.shbootstrap.sh will:
- Install Homebrew if not present
- Install all packages from
Brewfile - Sync dotfiles to
~
mv ~/.zshrc ~/Documents/projects/dotfiles/.zshrc
mv ~/.gitconfig ~/Documents/projects/dotfiles/.gitconfigln -s ~/Documents/projects/dotfiles/.shrc ~/.shrc
ln -s ~/Documents/projects/dotfiles/.bashrc ~/.bashrc
ln -s ~/Documents/projects/dotfiles/.zshrc ~/.zshrc
ln -s ~/Documents/projects/dotfiles/.gitconfig ~/.gitconfigOr run bootstrap.sh which uses rsync to sync all dotfiles at once.
# Clone following repo to ~/.vim/bundle/Vundle.vim after making the parent dirs:
# https://github.com/VundleVim/Vundle.vim
# Setup the config file as in this repo .vimrc example
# Install the Vundle plugins from `vim ~/.vimrc`, command mode, running: PluginInstallLocated in nvim/.config/nvim/.
# Create Brewfile
brew bundle dump --describe
# Update it when needed
brew bundle dump --force --describe
# Install brew packages
brew bundle --file ~/Documents/projects/dotfiles/Brewfile# Tell git to use its built-in language parser for md files
echo '*.md diff=markdown' >> .gitattributes
# Search for changes to the README files' Usage section
git lg -L:Usage:README.md