This repository contains my personal dotfiles for various applications and tools, managed using GNU Stow.
This dotfiles repository currently includes configurations for:
- vim: Vim editor configuration
- zsh: Z shell configuration
- git: Git configuration
Before using these dotfiles, you need to install GNU Stow on Arch Linux:
sudo pacman -S stow- Clone this repository to your home directory:
git clone https://github.com/yourusername/dotfiles.git ~/dotfiles
cd ~/dotfiles- Run the install script to symlink all configurations:
./install.shIf you only want to install specific configurations, you can use stow directly:
stow -t ~ vim # Only install vim configuration
stow -t ~ zsh # Only install zsh configuration
stow -t ~ git # Only install git configurationGNU Stow creates symbolic links from the files in this repository to your home directory. For example:
~/dotfiles/vim/.vimrc→~/.vimrc~/dotfiles/zsh/.zshrc→~/.zshrc~/dotfiles/git/.gitconfig→~/.gitconfig
To remove all symlinks created by these dotfiles:
./uninstall.shTo remove specific configurations:
stow -t ~ -D vim # Remove vim configuration
stow -t ~ -D zsh # Remove zsh configuration
stow -t ~ -D git # Remove git configurationTo add new configurations:
- Create a new directory for the application
- Place configuration files in the directory, maintaining the same structure as they would appear in your home directory
- Add the new package name to the
PACKAGESarray ininstall.shanduninstall.sh
This project is licensed under the MIT License - see the LICENSE file for details.