Skip to content

mosheavni/dotfiles

Repository files navigation

Moshe Avni's DotFiles

Usage

(also, how to bootstrap a brand new Mac laptop)

  1. Install xcode-select (for basically everything…)

    xcode-select --install
  2. Install Homebrew

    /bin/bash -c \
      "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
    eval "$(/opt/homebrew/bin/brew shellenv)" # to make brew available before we load `~/.zshrc` that has "$PATH"
    brew update
    brew install git stow
  3. Clone this repo:

    [[ -d ~/Repos ]] || mkdir ~/Repos
    cd ~ && git clone git@github.com:mosheavni/dotfiles.git .dotfiles && cd .dotfiles
  4. Install antidote

    git clone --depth=1 https://github.com/mattmc3/antidote.git ${ZDOTDIR:-~}/.antidote
  5. Stow the .dotfiles and reload the shell:

    ./start.sh
    source ~/.zshrc
  6. Install brew dependencies (generated with brew bundle dump)

    brew bundle
  7. Open Wezterm and start using a real terminal.

  8. Install asdf-vm plugins

    cd ~/.dotfiles
    while read -r plugin_line; do
      asdf plugin add $(awk '{print $1}' <<<"$plugin_line")
    done <asdf/.tool-versions
    asdf install
  9. Add support for recently installed fzf

    $(brew --prefix)/opt/fzf/install
  10. Login to gh cli

    gh auth login --web -h github.com
  11. Install gh github cli copilot extension

    gh extension install github/gh-copilot --force
  12. ???

  13. PROFIT

Usage (just NVIM)

Install requires Neovim 0.10+. Always review the code before installing a configuration.

Clone the repository and install the plugins:

git clone git@github.com:mosheavni/dotfiles ~/.config/mosheavni/dotfiles

Open Neovim with this config:

NVIM_APPNAME=mosheavni/dotfiles/nvim/.config/nvim nvim

Additional stuff

  • Adjust dock and keyboard settings

  • Download and install docker

  • Change clipy and maccy shortcuts, and load snippets

  • Install magnet

  • Install Snagit