A collection of my configuration and dotfiles for easy setup
Install the repo locally:
git clone https://github.com/martinabeleda/dotfiles.git
cd dotfilesInstall 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/BrewfileTo dump a Brewfile of current entries:
rm packages/Brewfile && brew bundle dump --file=packages/BrewfileSee more brew bundle tips here
Link all dotfiles and install plugins:
bash installThis is managed by dotbot
Preview what Dotbot would change without modifying links:
bash install --dry-runWhen 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-backupTo 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 --recursiveInstall the git hook checks locally with:
pre-commit installThe configured hooks run YAML validation, bash -n on local shell scripts, and bash install --dry-run on every commit.
Change shell to zsh:
zshMost of my neovim setup has been sourced from josean
Packer manages neovim plugins. To set everything up, run packer sync:
:PackerSyncSee the starship docs for installation instructions. Starship should already be set up by virtue of installing our brew dependencies and symlinking the .zshrc file.
- Add new plugin to
.tmux.confwithset -g @plugin '...' - Press
prefix+Ito fetch the plugin.