Skip to content

mosheavni/dotfiles

Repository files navigation

Moshe Avni's DotFiles

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

Usage

  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)"
    brew update
    brew install git
  3. Clone this repo:

    [[ -d ~/Repos ]] || mkdir ~/Repos
    cd ~ && git clone git@github.com:mosheavni/dotfiles.git .dotfiles && cd .dotfiles
  4. Install brew dependencies (generated with brew bundle dump)

    brew bundle
  5. Install asdf-vm and its plugins

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

    NOTE: Reload shell

    while read -r plugin_line; do
      asdf plugin-add $(awk '{print $1}' <<<"$plugin_line")
    done <asdf/.tool-versions
    asdf install
  6. Open Wezterm and start using a real terminal.

  7. Install antidote

    git clone --depth=1 https://github.com/mattmc3/antidote.git ${ZDOTDIR:-~}/.antidote
  8. Run ./start.sh to create the symlinks between the repo dir and the home dir:

  9. Install npm packages

    npm install -g $(printf "%s " $(<node/.default-npm-packages))
  10. Install pip dependencies

    pip3 install -r requirements.txt
  11. Add support for recently-installed fzf

    $(brew --prefix)/opt/fzf/install
  12. Install gh github cli copilot extension

    gh extension install github/gh-copilot --force
  13. Login to gh cli

    gh auth login --web -h github.com
  14. ???

  15. PROFIT

Additional stuff