Skip to content

hwhang0917/dotfiles

Repository files navigation

Dotfiles

Configuration files for my development environment.

Prerequisites

Installation

  1. Clone the repository in the home directory:

    git clone https://github.com/hwhang0917/dotfiles.git ~/dotfiles
  2. Fetch submodules:

    cd dotfiles
    git submodule update --init --recursive

    This will ensure that all the necessary submodules are cloned, such as nvim, zsh, etc.

  3. 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.).

Git Configuration

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.

Uninstallation

To uninstall a package, you can use GNU Stow with the -D option:

stow -D <package>

About

Dotfiles for Unix-like OS

Resources

Stars

Watchers

Forks