This repo uses GNU Stow to symlink config files into your home directory (~) instead of copying them.
- macOS:
brew install stow - Linux:
sudo apt install stow
git clone https://github.com/Toha764/dotfiles ~/dotfiles
cd ~/dotfiles
stow -d <parent directory> -t ~ <package name or * for all>
-
macOS:
stow -d ~/dotfiles/os/mac -t ~ * -
Linux:
stow -d ~/dotfiles/os/linux -t ~ *
Or install just one:
stow -d ~/dotfiles/os/mac -t ~ zsh
Example:
stow -d ~/dotfiles/packages -t ~ tmux
Stow creates symlinks in ~ pointing to files in this repo.
-
Reapply a package:
stow -R tmux -
Remove a package:
stow -D tmux