Skip to content

stringparser/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

A simpler setup to work with dotfiles.

setup

Create a bare repo to track dotfiles.

git clone --bare https://github.com/stringparser/dotfiles.git code/dotfiles

Setup an alias to use git from that repository.

echo 'alias dit="/usr/bin/git --git-dir=$HOME/code/dotfiles --work-tree=$HOME"' >> $HOME/.zshrc

Since we are tracking the whole $HOME folder, let's skip untracked files

dit config --local status.showUntrackedFiles no

That's it. You can use that repo to track files across your system.

config add .eslintrc
config add .zshrc

There are some usage caveats (like path completion) you might also want to disable showing untracked files.

todo

  •  Make completion work

reference links

About

house a simple setup to get started anywhere

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published