Skip to content

WilliamMoolman/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

My dotfiles are now managed with GNU stow. This is done by having all the dotfiles in central dotfiles directory, and creating symlinks to the config file locations.

Requirements

GNU Stow:

apt install stow # Debian/Ubuntu
pacmac -S stow # Arch

Installation

Installing dotfiles in a new machine is done by:

git clone git@github.com:WilliamMoolman/dotfiles.git ~/dotfiles
cd ~/dotfiles
stow --adopt .

Any difference between the cloned files and those existing will appear as modification to files in the dotfiles directory. Run git status to check

To add a file to the dotfiles, run:

dot ~/.config/sample.conf

To remove a file from the dotfiles, run:

mv ~/dotfiles/.config/sample.conf ~/.config/sample.conf

To delete a file entirely, delete the version in the dotfiles directory, and then restow:

~/dotfiles $ stow -R .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published