Provisioning my environment on macOS and Linux.
MIT License
This repository is the scripts and configuration files for the provision of my environment on macOS and Linux.
That includes tools and settings as below.
.zshrc
, and zsh plugins via zinit
.tmux.conf
, and tmux plugins via tpm
.vimrc
, and vim plugins via Vundle.vim
Brewfile
for Homebrew
The purpose of this repository is to set up my environment for me, Although I am glad if this repository as a useful example when you provision your environment.
xcode-select --install
Linux:
export CARGO_MAKE_VERSION="0.26.1" \
&& curl -sL https://github.com/sagiegurari/cargo-make/releases/download/${CARGO_MAKE_VERSION}/cargo-make-v${CARGO_MAKE_VERSION}-x86_64-unknown-linux-musl.zip \
| busybox unzip -p - cargo-make-v${CARGO_MAKE_VERSION}-x86_64-unknown-linux-musl/cargo-make > bin/cargo-make && chmod a+x bin/cargo-make
macOS:
export CARGO_MAKE_VERSION="0.26.1" \
&& curl -sL https://github.com/sagiegurari/cargo-make/releases/download/${CARGO_MAKE_VERSION}/cargo-make-v${CARGO_MAKE_VERSION}-x86_64-apple-darwin.zip \
| bsdtar --strip-components 1 -C bin/ -xvf - cargo-make-v${CARGO_MAKE_VERSION}-x86_64-apple-darwin/cargo-make
NOTE: If you didn't use --disable-check-for-updates
option, it makes symlink for .cache
directory into an unexpected path like ~/.cache/.cache
because cargo-make
creates ~/.cache
directory for check for updates before runs the tasks.
bin/cargo-make make --disable-check-for-updates --makefile tasks/install.toml
docker-compose up
docker-compose run ws zsh -l
brew bundle dump --global --force
git diff symlinks/home.macos/.Brewfile