Managed by chezmoi
OS: macOS, Arch Linux
Prerequisites
Homebrew
macOS
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"yay
Arch Linux
$ pacman -S --needed git base-devel
$ git clone https://aur.archlinux.org/yay.git
$ cd yay
$ makepkg -sichezmoi
$ brew install chezmoi # on macOS
$ yay -S chezmoi # on Arch Linux
$ chezmoi init https://github.com/username/dotfiles.git
$ exit # or reload zsh configs (including zshenv)Installation
zinit
$ mkdir -p "${XDG_DATA_HOME}/zinit"
$ git clone https://github.com/zdharma/zinit.git "${XDG_DATA_HOME}/zinit/bin"vim-plug
$ sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'asdf-vm
$ asdf plugin add deno direnv github-cli golang java nodejs python ruby yarn
$ NODEJS_CHECK_SIGNATURES=no asdf installrustup
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-modify-pathNeeds to update periodically
zinit
$ zinit self-update
$ zinit update --all
$ zinit delete --clean && zinit cclear # cleanup unused pluginsrustup
$ rustup updateneovim
$ nvim +PlugUpgrade +PlugUpdate +CocUpdate # +qall (if needed)asdf-vm
You need to check and to update each plugin manually. (Please let me know how to update automatically.)
Homebrew
macOS
$ brew update && brew upgrade && brew upgrade --caskyay
Arch Linux
$ yayTODO
- Add scripts
- Install asdf's plugins
- Make
$XDG_DATA_HOME/zshdirectory for history - Install tools using yay
- Setup gpg
- Separate between headless and desktop environment.
- Support XDG Base Directory of JetBrains products and Gradle.
- Support my windows computer.
- Consider using paru instead of
yay.π It can be installed by cargo.π Written in Pure Rust.

