Configuration files managed with GNU Stow.
-
Install GNU Stow:
sudo apt install stow # Ubuntu / Debian -
Clone this repository:
git clone git@github.com:prophittcorey/dotfiles.git cd dotfiles -
Create symlinks for the configurations you want (from the repo root):
stow -t ~ <package> # e.g., stow -t ~ vim stow -t ~ vim tmux # or stow multiple packages
Note:
-t ~targets your home directory. If this repo lives in your home (e.g.~/.dotfiles), you can omit it.
- Create a folder for the application in the root of the repo.
- Replicate the full path from your home directory inside that folder.
- ex:
~/.config/zed/settings.json→zed/.config/zed/settings.json
- ex:
- Move your existing config into the folder.
- Run
stow -t ~ <package>from the repo root.
stow -D -t ~ <package> # Removes symlinks, keeps your files