Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.11 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.11 KB

Dotfiles configuration

Showcase

Neovim inside tmux inside kitty inside yabai on MacOS.

image

Installing in a new system

Clone the repo into a bare repository inside $HOME:

git clone --bare [email protected]:oessaid/dots.git $HOME/.dotfiles

Define the management command alias (dots) inside the current shell scope:

alias dots='/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME'

Checkout the actual content from the bare repository to $HOME

dots checkout

Errors might pop up at this point because $HOME might have some stock versions of configuration files (.bashrc, .zshrc, etc.). Delete them (or back them up), then re-run the above command.

Ignore any untracked files (to avoid unnecessary clutter of dots status) using

dots config --local status.showUntrackedFiles no

Usage

Updating dotfiles and pushing changes becomes very easy:

dots status
dots add .zhsrc
dots commit -m "Add .zshrc"
dots push