Skip to content

Dariusch/dotfiles

Repository files navigation

My Dotfiles

dotfiles

These are my dotfiles which I use every day.

The dotfiles are managed by yadm, a git based dotfile manager.

Prerequisites

Homebrew

First we will need Homebrew, a package manager for macOS.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"

yadm

With homebrew installed we can install yadm:

brew install yadm

GitHub access

To clone the repository via ssh we need to generate a ssh key

After you generated the ssh key run the following commands:

brew install gh
# make sure to select your previously created ssh key to be added to GitHub
gh auth login

Install your dotfiles

yadm clone --bootstrap [email protected]:Dariusch/dotfiles.git

brew bundle

Manual steps

zsh stuff

You might need to re-run som post-installation scripts as brew does not execute them:

# install oh-my-zsh - there is no brew formula
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

# install zsh plugins - the brew formulas are buggy
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-completions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/kubermatic/fubectl.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fubectl

ruby

command curl -sSL https://rvm.io/mpapis.asc | gpg --import -
command curl -sSL https://rvm.io/pkuczynski.asc | gpg --import -
curl -sSL https://get.rvm.io | bash -s stable
curl -sSL https://get.rvm.io | bash -s stable --rails

Releases

No releases published

Packages

No packages published