Skip to content

adammfurman/dotfiles

Repository files navigation

My Dotfiles

This directory contains the dotfiles for my macOS config, managed with GNU Stow.

Dependencies

Ensure you have the following on your system:

Homebrew

$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Git

$ brew install git

Stow

$ brew install stow

Installation

First, check out the dotfiles repo in your $HOME directory using git

$ git clone [email protected]/adammfurman/dotfiles.git
$ cd dotfiles

then use GNU stow to create symlinks

$ stow .

Usage

To add new packages/files to the repo, first create a directory named after the package in the .dotfiles directory

$ cd ~/.dotfiles
$ mkdir NAME_OF_PACKAGE

Next, create the directory structure within that directory such that it mirrors the structure from the $HOME directory to the package/file you want to stow (but not including that package/file)

Given a package folder located in the $HOME/.config directory:

$ mkdir NAME_OF_PACKAGE/.config

Then, move the package folder or file into the .dotfiles directory you just created

$ mv ~/.config/NAME_OF_PACKAGE ~/.dotfiles/NAME_OF_PACKAGE/.config

Now, use stow to create a symlink for the package/file

$ stow NAME_OF_PACKAGE

Then, add and commit the changes to git

$ git add NAME_OF_PACKAGE
$ git commit -m "added NAME_OF_PACKAGE"

Finally, if all is working, push to git

$ git push origin main

About

My dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages