This repository is addapted to work with GNU stow.
To start syncing local machine configuration with this repo, for example, for lazygit
execute this command:
stow --target=$HOME \
--stow lazygit \
--verbose
This command will create a symlinks with files structure corresponding to specified app name in this repo, in this example lazygit
.
Several items can be listed separated by space like that:
stow --target=$HOME \
--stow lazygit zsh zellij \
--verbose
To recreate symlinks, for example there were made some changes in directories names:
stow --target=$HOME \
--restow lazygit \
--verbose
To delete symlinks:
stow --target=$HOME \
--delete lazygit \
--verbose
To clone this repository localy:
git clone git@github-personal:leonidgrishenkov/dotfiles.git
Where github-personal
is the name of corresponding ssh key configuration in ~/.ssh/config
.