Personal configuration files, managed with GNU Stow.
Clone the repository:
git clone https://github.com/EmilPopovic/dotfiles.git ~/.dotfiles
cd ~/.dotfilesInstall GNU Stow:
sudo pacman -S stowLink all dotfiles to your home directory:
cd ~/.dotfiles
stow .Stow creates symlinks from ~/.dotfiles to your home directory, treating .dotfiles as ~.
To add a new dotfile to the repository:
Move ~/.zshrc to ~/.dotfiles/.zshrc
mv ~/.zshrc ~/.dotfiles/.zshrcMove entire directories
mkdir -p ~/.dotfiles/.config/nvim
mv ~/.config/nvim/* ~/.dotfiles/nvim/cd ~/.dotfiles
stow .Stow automatically creates symlinks for all files in .dotfiles, mirroring their directory structure back to your home directory.
git add .
git commit -m "Add bashrc and nvim config"
git pushTo remove all symlinks without deleting files:
cd ~/.dotfiles
stow -D .Reapply symlinks:
stow .