~steef/dotfiles

some of my configuration files
Merge remote-tracking branch 'refs/remotes/origin/main'
nvim: initial tsserver lsp
bin/vimdiff: exec nvim -d

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~steef/dotfiles
read/write
git@git.sr.ht:~steef/dotfiles

You can also use your local clone with git send-email.

#Dotfiles

Some of my configuration files. Feel free to "be inspired" as I was before.

#Usage

The best way to use this is by cloning this to a bare repository to some subdirectory, and then using git with work tree $HOME. That way, you can checkout what you need, not cluttering the home folder.

In short, use

git clone --bare <this> $HOME/.configuration-store
alias config='git --git-dir=$HOME/.configuration-store/ --work-tree=$HOME'
config config --local status.showUntrackedFiles no # For large $HOMEs

to clone into a bare repository and set a useful git alias. You can then use e.g. config checkout [branch] -- <files> from $HOME to check out files. More details here.

See also the "stow" branch from the time that I used GNU stow to manage configuration files. This git-only workflow feels more elegant.