This dotfiles's main purpose is simple and maintainable, reproducibility.
A installation script can handle two types of machine, private machine or business one.
When you use it on your business, you need to set BUSINESS_USE=1
.
Then script will use Brewfile.work and install applications for only use case of the business.
Prepare Homebrew as following command
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
And hit a script as following.
git clone paveg/dotfiles
./install.sh
When you install some application from brew, you need to execute brewbundle
and commit result.
# This command updates `.Brewfile`
brewbundle
If you track some changes upstream repo of the AstroNvim, it would be better to clone it again from template.
Note: https://docs.astronvim.com/
rm -rf $DOTDIR/nvim
git clone --depth 1 https://github.com/AstroNvim/template $DOTDIR/nvim
rm -rf $DOTDIR/nvim/.git