The Wayback Machine - https://web.archive.org/web/20201117095940/https://github.com/grhbit/dotfiles
Skip to content
main
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

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 -si

chezmoi

$ 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 install

rustup

$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-modify-path

Needs to update periodically

zinit

$ zinit self-update
$ zinit update --all
$ zinit delete --clean && zinit cclear # cleanup unused plugins

rustup

$ rustup update

neovim

$ 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 --cask

yay

Arch Linux

$ yay

TODO

  • Add scripts
    • Install asdf's plugins
    • Make $XDG_DATA_HOME/zsh directory 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.
You can’t perform that action at this time.