Dotfiles
Get Started

Install on Mac

A guide to installing my dotfiles on Mac.

Clone the repository to ~/.dotfiles:

git clone https://github.com/sagoez/.dotfiles.git ~/.dotfiles

Install Homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install Brewfile

cd ~/.dotfiles/brew && brew bundle

Install jabba and setup coursier:

curl -sL https://github.com/Jabba-Team/jabba/raw/main/install.sh | bash && . ~/.jabba/jabba.sh
jabba install openjdk@1.17-0
jabba alias default openjdk@1.17.0
coursier setup
brew uninstall --ignore-dependencies java

Install oh my zsh

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Install fast-syntax-highlighting

git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git \
  ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting

Install zsh-autosuggestions and git-open

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

Install cargo:

curl https://sh.rustup.rs -sSf | sh

Install colorls:

sudo gem install colorls

Make sure you have created the following directories:

mkdir ~/Developer/ && mkdir ~/Developer/Work/ && mkdir ~/Developer/Learn/

Install kitty:

curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin

Install atuin:

curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh

Stow the folders:

stow nvim && stow zsh && stow k9s && stow kitty && stow aerospace && stow atuin && stow ideavim