dotfiles

Update

sudo apt update && sudo apt install nala -y

Nala

sudo nala update && sudo nala upgrade -y

ZSH

sudo nala install zsh -y

Chezmoi

sh -c "$(curl -fsLS get.chezmoi.io/lb)" -- init --apply https://github.com/songpola/dotfiles.git

~/.config/chezmoi/chezmoi.toml

Automatically commit and push changes to your repo

[git]
autoCommit = true
autoPush = true

Oh My Zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Prompt: Starship

curl -sS https://starship.rs/install.sh | sh

Plugins

(
  # zsh-autosuggestions
  git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

  # zsh-syntax-highlighting
  git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

  # zsh-history-substring-search
  git clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search

  # zsh-completions
  git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions

  # pnpm
  git clone --depth=1 https://github.com/ntnyq/omz-plugin-pnpm.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/pnpm

  # gradle-completion
  git clone https://github.com/gradle/gradle-completion ~/.oh-my-zsh/plugins/gradle-completion
)

SDKMAN!

sudo nala install zip unzip -y
curl -s "https://get.sdkman.io" | bash