I used to have a dedicated dotfile command to deal with dotfiles. However, I find stow to be a better option for me.
See how it works here.
Run the installer script to automatically install Homebrew and all required dependencies:
./install.shTo preview what will be installed without making any changes:
./install.sh --dry-run
# or
./install.sh -nThis will show all the packages and tools that would be installed, which is useful for understanding dependencies before committing to the installation.
Either use stow directly with a package:
stow --verbose --target=$$HOME -n --restow zshOr just use make to set everything up:
make restowTo add personal aliases and configurations that shouldn't be version controlled:
cd local
cp .local_aliases.sh.example .local_aliases.sh
# Edit .local_aliases.sh with your personal settingsBoth bash and zsh configurations will automatically source this file if it exists.
Use the make delete command.
- The vim configuration uses
vim-plugfor plugin management. Theinstall.shscript automatically installs it, or you can follow these instructions to install it manually. - After installation, run
:PlugInstallin vim to install all configured plugins.