dot/README.md

19 lines
385 B
Markdown
Raw Normal View History

2023-07-22 14:56:42 +02:00
# Doman DOT
I stole this idea. But it works magic.
## Usage
To setup dotfiles run:
```bash
2024-07-15 12:28:03 +02:00
REPO_URL=ssh://git@gitea.domandoman.xyz:222/doman/dot.git
2023-07-22 14:56:42 +02:00
git clone --bare $REPO_URL $HOME/.dot/
alias dot="/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME"
dot config status.showUntrackedFiles no
2023-07-22 15:03:24 +02:00
dot restore .
2023-07-22 14:56:42 +02:00
source $HOME/.zshrc
```
Then manage dotfiles by dot alias to git, magic!