I usually keep the repo in ~/.dotfiles
:
git clone https://github.com/pablopunk/dotfiles ~/.dotfiles
cd ~/.dotfiles
./install.sh
This will:
- Install all dependencies by calling every
*/bootstrap.sh
file in the repo - Link all dotfiles (using
stow
)
Or just link the one you want:
./link.sh nvim
Specify a name and a path to the config:
./add.sh alacritty ~/.config/alacritty
./add.sh vim ~/.vimrc
This will move it back to the original location and remove the folder from the repo (be careful if you have a bootsrap.sh
inside the folder, it will be removed):
./remove.sh alacritty ~/.config/alacritty
./remove.sh vim ~/.vimrc