Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 803 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 803 Bytes

Dotfiles

These dotfiles can be restowed using GNU Stow, as well as stowing new dotfiles.

Setup

To restow the dotfiles on a new machine, first clone this repository and then run the makefile from that directory.

git clone https://github.com/6lr61/dotfiles.git ~/.dotfiles
make -C ~/.dotfiles

Usage

Adding new dotfiles

First make a new package by creating a directory for the specific program in the ~/.dotfiles directory. Then move the config files into the newly created directory.

mkdir -p ~/.dotfiles/package
mv ~/.programrc ~/.dotfiles/package

Then use stow to create the corresponding symlinks for the config files in your home directory.

cd ~/.dotfiles
stow --target=$HOME package