Skip to content

ViktorPopp/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My dotfiles!

Setup

Add the following to your interactive startup script (.bashrc, .zshtc etc.):

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

Then clone the repository:

$ git clone --bare https://github.com/ViktorPopp/dotfiles.git $HOME/.dotfiles
$ dot config --local status.showUntrackedFiles no
$ dot checkout

If you already have some of the dotfiles present, you will see this error:

error: The following untracked working tree files would be overwritten by checkout:
 .bashrc
Please move or remove them before you switch branches.
Aborting

Remove or backup any collisions and repeat the checkout.

Congratulations, you are done!

About

⚙️ My dotfiles!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published