No description
- Lua 100%
| .config | ||
| .zsh | ||
| .git_commit_msg | ||
| .gitconfig | ||
| .zshrc | ||
| README.md | ||
Bare repository for local dotfiles management.
Init
Init (with git tracking data held at $HOME/.dotfiles:
mkdir -p $HOME/.dotfiles
git init --bare $HOME/.dotfiles
alias dotfiles='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
# ignore files in the worktree by default (needing manual addition)
dotfiles config --local status.showUntrackedFiles no
# Optional (for lazygit https://lazygit.dev)
alias lazydotfiles='lazygit --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
Clone on a fresh machine
git clone --bare $HOME/.dotfiles