Configuration files for my development environment.
-
Clone the repository in the home directory:
git clone https://github.com/hwhang0917/dotfiles.git ~/dotfiles
-
Fetch submodules:
cd dotfiles git submodule update --init --recursive
This will ensure that all the necessary submodules are cloned, such as
nvim
,zsh
, etc. -
Install the dotfiles using GNU Stow:
cd dotfiles stow <package>
Replace
<package>
with the name of the package you want to install (e.g.,nvim
,zsh
, etc.).
After stowing git, you want to setup credentials for GitHub. You can do this by running:
./setup/gitconfig_init.sh
The script will generate a .gitconfig.local
file in your home directory.
Open this file and fill in your custom configuration, such as your name and email.
To uninstall a package, you can use GNU Stow with the -D
option:
stow -D <package>