~laxis/dotfiles

ref: c84a45fe529f2dd081d3da35e3e540d10ff16151 dotfiles/README.md -rw-r--r-- 631 bytes
c84a45feLars Brix i3: reassign workspaces to outputs 5 months ago

#My dotfiles

from https://news.ycombinator.com/item?id=11071754

initialize new dotfile repo

git init --bare $HOME/.dotfiles-git
    alias config='/usr/bin/git --git-dir=$HOME/.dotfiles-git/ --work-tree=$HOME'
    config config status.showUntrackedFiles no

clone on new pc

alias config='/usr/bin/git --git-dir=$HOME/.dotfiles-git/ --work-tree=$HOME'
	git clone --separate-git-dir=$HOME/.dotfiles-git git@git.sr.ht:~laxis/dotfiles dotfiles-tmp 
	rm -r ~/myconf-tmp/
	config checkout .

after cloning, source .zshrc and you can use the config command (aliased git command for the dotfiles)