18 lines
		
	
	
	
		
			385 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			385 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
# Doman DOT
 | 
						|
 | 
						|
I stole this idea. But it works magic.
 | 
						|
 | 
						|
## Usage
 | 
						|
 | 
						|
To setup dotfiles run:
 | 
						|
 | 
						|
```bash
 | 
						|
REPO_URL=ssh://git@gitea.domandoman.xyz:222/doman/dot.git
 | 
						|
git clone --bare $REPO_URL $HOME/.dot/
 | 
						|
alias dot="/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME"
 | 
						|
dot config status.showUntrackedFiles no
 | 
						|
dot restore .
 | 
						|
source $HOME/.zshrc
 | 
						|
```
 | 
						|
 | 
						|
Then manage dotfiles by dot alias to git, magic!
 |