Inspired by thoughtbot's dotfiles.
Clone onto your laptop:
git clone https://github.com/ukdave/dotfiles ~/.dotfiles
Install rcm:
brew install rcm
Install the dotfiles:
env RCRC=$HOME/.dotfiles/rcrc rcup -v
After the initial installation, you can run rcup
without the one-time variable
RCRC
being set (rcup
will symlink the repo's rcrc
to ~/.rcrc
for future
runs of rcup
). See example.
This command will create symlinks for config files in your home directory.
Setting the RCRC
environment variable tells rcup
to use standard
configuration options:
- Exclude the
README.md
andLICENSE
files, which are part of thedotfiles
repository but do not need to be symlinked in.
From time to time you should pull down any updates to these dotfiles, and run
rcup
to link any new files. You can safely run rcup
multiple times so update early
and update often!
Zsh configuration:
- Oh My Zsh
- Powerlevel10k theme
- warhol plugin
- Required dependencies:
brew install asdf bat grc fzf zsh-fast-syntax-highlighting zsh-autosuggestions
Installation steps:
# Install Oh My ZSH
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Install Powerlevel10k theme
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
# Install warhol plugin
git clone https://github.com/unixorn/warhol.plugin.zsh.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/warhol