Skip to content

Configuration for all the things

Notifications You must be signed in to change notification settings

jordelver/dotfiles

Repository files navigation

dotfiles

Install dotfiles

Clone the repo to ~/.dotfiles

git clone [email protected]:jordelver/dotfiles.git ~/.dotfiles

Run the install

This will link configs into ~/

cd ~/.dotfiles
./install.sh

Install Homebrew

First we need to install Homebrew.

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

Install utilities

cd ~/.dotfiles/
brew bundle

Install asdf

git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.8.0

Install plugins

Ruby

asdf plugin-add ruby https://github.com/asdf-vm/asdf-ruby.git

Erlang

asdf plugin-add https://github.com/asdf-vm/asdf-erlang

Elixir

asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git

NodeJS

asdf plugin-add nodejs https://github.com/asdf-vm/asdf-nodejs

PostgreSQL

asdf plugin-add postgres

To upgrade

cd ~/.asdf
git pull
cp ~/.asdf/completions/asdf.fish ~/.config/fish/completions

Configure fzf

fzf is installed via Homebrew, but we need to configure it after install.

Run the install script

/usr/local/opt/fzf/install --key-bindings --no-completion --no-bash --no-zsh --no-update-rc

Vim (Neovim)

To update

brew upgrade neovim

Adding a new plugin

Add to ~/.config/nvim/lua/plugins.lua and run :PackerSync

Run :PackerStatus to see what needs installing and what doesn't.

Updating a plugin

Run :PackerSync will update all plugins.

Fonts

My current font of choice is Jet Brains Mono set to 18pts in iTerm. The font lives in this repo at fonts/JetBrainsMono-Regular.ttf.

To install, the font should be copied to ~/Library/Fonts/.

cp ~/.dotfiles/fonts/JetBrainsMono-Regular.ttf ~/Library/Fonts/