My personal collection of dotfiles and development environment setup, managed with stow.
This repository uses the bootstrap.sh script to automate the setup process.
1. Clone the repository:
git clone https://github.com/thorbenbelow/dotfiles.git ~/.dotfiles2. Run the bootstrap script:
cd ~/.dotfiles
./bootstrap.shThe bootstrap.sh script is idempotent and can be run safely multiple times. It will:
- Install Dependencies:
- On macOS, it installs Homebrew if not present, then installs packages like
git,stow, andneovim. - On Linux, it uses
aptto install necessary packages.
- On macOS, it installs Homebrew if not present, then installs packages like
- Symlink Dotfiles: Uses
stowto symlink the configuration files forgit,nvim,zsh, etc., into your home directory. - Set up Zsh:
- Installs Oh My Zsh.
- Installs the
zsh-autosuggestionsandzsh-syntax-highlightingplugins. - Sets Zsh as your default shell.
For machine-specific configurations, you can create the following files. They are ignored by version control.
~/.gitconfig.local~/.zshrc.local