Skip to content

DustinDust/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INSTALL on a new machine

Clone the config

git clone --bare <git-repo-url> $HOME/dotfiles

Alias dotfiles command. You can put this in the .bashrc or .zshrc

alias dotfiles='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'

Checkout the bootstrap bash script first.

./bootstrap.sh

Apply config

dotfiles checkout

You might want to backup before checkout though as it will attempt to overwrite some already existing files

mkdir -p .dotfiles-backup && \
dotfiles checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
xargs -I{} mv {} .dotfiles-backup/{}

Also do this to hide untracked files

dotfiles config --local status.showUntrackedFiles no

About

My minimal dotfiles

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors