Skip to content

alexcarpenter/dotfiles

Repository files navigation

dotfiles

Installation

git clone https://github.com/alexcarpenter/dotfiles ~/dotfiles
cd ~/dotfiles

First time setup

./cli init

This will:

  • Install Homebrew (if missing)
  • Install packages from Brewfile
  • Stow all dotfiles to your home directory
  • Link the dot command to your PATH

Stow packages

# Stow all packages
./cli stow

# Stow specific package
./cli stow zsh
./cli stow zed

Commands

Command Description
./cli init Full system setup
./cli stow [package] Symlink dotfiles to home
./cli link Install dot to PATH
./cli unlink Remove dot from PATH
./cli doctor Run diagnostics
./cli update Update Homebrew packages
./cli gen-ssh-key [email] Generate SSH key

Updates

cd ~/dotfiles
git pull
./cli stow

Add new package

# create folder at root with target-relative paths
mkdir -p <new-package>/.config/app

# stow it
./cli stow <new-package>

# commit
git add <new-package>
git commit -m "Add <new-package>"

Backups

The stow command saves overwritten files to ~/dotfiles_backup_YYYYMMDD_HHMMSS/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors