This repository contains my personal dotfiles for configuring various tools and applications on macOS and Linux systems. These dotfiles are managed using GNU Stow, which simplifies the process of symlinking configuration files.
Ensure that you have the following installed on your system:
- GNU Stow: Use your system's package manager to install it.
- macOS:
brew install stow - Linux: Use your distribution's package manager, e.g.,
sudo apt install stoworsudo pacman -S stow.
- macOS:
First, clone this repository into your home directory or a directory of your choice:
cd ~
git clone https://github.com/XtremeXSPC/Dotfiles.git
cd DotfilesGNU Stow is used to create symlinks from this repository to your home directory, ensuring that configurations are applied correctly.
Each subdirectory in this repository corresponds to a specific tool or application. For example:
Dotfiles/
βββ kitty/ # Kitty configuration file
βββ nvim/ # Neovim configuration files
βββ tmux/ # Tmux configuration files
βββ zsh/ # Zsh configuration files
-
Open a terminal and navigate to the
Dotfilesdirectory:cd ~/Dotfiles
-
Use Stow to apply configurations for a specific tool. For example, to apply the Neovim configuration:
stow -v nvim
This will create symlinks for the Neovim configuration files in your home directory.
-
Repeat the
stowcommand for other tools as needed:stow -v tmux stow -v zsh
-
Open a terminal and navigate to the
Dotfilesdirectory:cd ~/Dotfiles
-
Use Stow to apply configurations for a specific tool. For example, to apply the Bash configuration:
stow -v bash
-
Repeat the
stowcommand for other tools as needed:stow -v nvim stow -v zsh
-
If you encounter conflicts with existing files, consider backing them up or removing them before running Stow.
-
To remove symlinks created by Stow, use the
-Doption:stow -D nvim
Contributions are welcome! Feel free to open an issue or submit a pull request if you have suggestions for improving this repository.
This repository is licensed under the MIT License. See the LICENSE file for details.
