Skip to content

rickpala/dotfiles

Repository files navigation

🖥️ Setting up a new Mac?

Install these apps first:

💲 Setting up a new Shell environment on MacOS?

  1. Install oh-my-zsh

  2. Install homebrew

- Run these two commands in your terminal to add Homebrew to your PATH:
    (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/rpalaguachi/.zprofile
    eval "$(/opt/homebrew/bin/brew shellenv)"
  1. Homebrew install neovim, chezmoi, node, and bitwarden
brew install neovim chezmoi node bitwarden

Using chezmoi to setup, install, and modify dotfiles:

  1. Set any machine-specific data in the config file. By default it lives at ~/.config/chezmoi/chezmoi.toml.
# This toml file is NOT managed by chezmoi. Instead this
# file tells chezmoi what machine-specific data you wish to store.
[data]
  email = "[email protected]"
  machine = "personal_macbook"
  1. If you already have an existing chezmoi environment, sync to Github remote in one line:
chezmoi init --apply $GITHUB_USERNAME
  1. If you need to make edits to your dotfiles, use:
chezmoi edit <filename>
  1. Once you're ready to push your changes to remote, use:
chezmoi git -- add
chezmoi git -- commit -m "Update dotfiles"
  1. On any machine, you can pull and apply the latest updates with:
chezmoi update -v

Read more about chezmoi's daily operations at chezmoi.io/user-guide/daily-operations

About

Dotfiles across all machines. Managed by `chezmoi`

Resources

Stars

Watchers

Forks