Skip to content

duclm278/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Setup

Use stow to have bidirectional dotfiles (i.e., changes of tracked files in $HOME will be reflected in the repository and vice versa):

DOTFILES=$HOME/.dotfiles
mkdir -p $DOTFILES
git clone https://github.com/duclm278/dotfiles.git $DOTFILES

sudo apt update && sudo apt install -y stow
stow -d $DOTFILES -t $HOME --adopt --no-folding .

You can always return to the original state by running:

DOTFILES=$HOME/.dotfiles
stow -d $DOTFILES -t $HOME --adopt --no-folding -D . && rsync -avz --exclude ".git*" --exclude "*.md" $DOTFILES/ $HOME/

About

A minimal dotfiles setup for *NIX systems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published