Skip to content

martinabeleda/dotfiles

Repository files navigation

dotfiles

main workflow

A collection of my configuration and dotfiles for easy setup

🚧 setup

Install the repo locally:

git clone https://github.com/martinabeleda/dotfiles.git
cd dotfiles

🍻 brew

Install homebrew:

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

We use brew bundle to manage homebrew dependencies in a reproducible way. To install all dependencies:

brew bundle --file=packages/Brewfile

To dump a Brewfile of current entries:

rm packages/Brewfile && brew bundle dump --file=packages/Brewfile

See more brew bundle tips here

🤖 dotbot

Link all dotfiles and install plugins:

bash install

This is managed by dotbot

Preview what Dotbot would change without modifying links:

bash install --dry-run

When installing on an existing system, bash install now moves conflicting managed files into ~/.dotfiles-backups/<timestamp>/ before linking. To skip that behavior:

bash install --no-backup

To update the Dotbot submodule to the latest upstream master commit:

git -C dotbot fetch origin master
git -C dotbot checkout origin/master
git add dotbot
git commit -m "Update dotbot"

If you are cloning this repo for the first time and want to initialize the submodule:

git submodule update --init --recursive

Install the git hook checks locally with:

pre-commit install

The configured hooks run YAML validation, bash -n on local shell scripts, and bash install --dry-run on every commit.

🔨 zsh

Change shell to zsh:

zsh

🔧 nvim

Most of my neovim setup has been sourced from josean

📮 packer

Packer manages neovim plugins. To set everything up, run packer sync:

:PackerSync

Links

🚀 starship prompt

See the starship docs for installation instructions. Starship should already be set up by virtue of installing our brew dependencies and symlinking the .zshrc file.

📦 tmux

Installing plugins

  1. Add new plugin to .tmux.conf with set -g @plugin '...'
  2. Press prefix + I to fetch the plugin.

About

A collection of my config and dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors