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 git@github.com: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

About

my dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published