/dotfiles

Manage my dotfiles.

Primary LanguageShellMIT LicenseMIT

Air’s dotfiles

Manage my dotfiles.

Features

  • Modular organization

Quick Start

git clone {this repo}
cd path/to/this/repo
chmod +x install.sh
./install.sh

Usage

What is layer

A layer corresponds to a folder that contains a install.sh in its root directory. Each install.sh will be executed, and should manage and install dotfiles in its folder.

How to add a new layer

  1. Create a new folder (such as hello) inside this repo. And change directory to the new folder (cd hello).
  2. Create the install.sh. For example: echo "echo hello" > install.sh
  3. Add the new hello layer to the root install.sh. For example:
    layers=(
        ...
        "hello"
    )