Help you manage various configuration files in your system, like .nvim
、.zshrc
and etc.
🚧 Work in Progress
ezcfg is currently in active development...
brew tap tim101010101/ezcfg
brew install ezcfg
Not supported for the time being.
Find a place to centrally manage your configuration files.
For example, I choose ~/.dotfiles/
.
cd ~
mkdir .dotfiles
Create your profiles here, like nvim
and zsh/.zshrc
And ezcfg
needs a configuration file .ezcfg.toml
to tell it how it works.
echo 'links = [
["zsh/.zshrc", "$HOME/.zshrc"],
["nvim", "$HOME/.config/nvim"],
]' > .ezcfg.toml
At this time, our directory structure will probably be like this.
~/.dotfiles
├──nvim
│ ├──init.lua
│ ├──lazy-lock.json
│ └──lua
├──zsh
│ └──.zshrc
└──.ezcfg.toml
Now just run the command.
ezcfg
After the command is successfully executed, we can see that the soft links we need is already in the specified location.
~
├──.config
│ └──nvim -> ~/.dotfiles/nvim
└──.zshrc -> ~/.dotfiles/zsh/.zshrc