26 lines
690 B
Markdown
26 lines
690 B
Markdown
# Axenov dotfiles
|
|
|
|
```shell
|
|
# install stow
|
|
sudo apt install -y stow
|
|
|
|
# clone dotfiles
|
|
git clone https://git.axenov.dev/anthony/dotfiles.git ~/.dotfiles
|
|
cd ~/.dotfiles
|
|
|
|
# install git dotfiles (or any other ones) in $HOME
|
|
stow -v git
|
|
|
|
# remove them from $HOME
|
|
stow -v git -D
|
|
```
|
|
|
|
Target (`-t`) defaults to the parent of `pwd`, so if you clone this repo not in `$HOME` then you MUST explicitly provide `-t ~` or `-t $HOME` every time.
|
|
|
|
## Documentation and sources
|
|
|
|
* <https://www.gnu.org/software/stow/manual/stow.html>
|
|
* <https://tamerlan.dev/how-i-manage-my-dotfiles-using-gnu-stow/>
|
|
* <https://gist.github.com/andreibosco/cb8506780d0942a712fc>
|
|
* <https://github.com/jimeh/git-aware-stow>
|