Skip to content

mosheavni/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 ~/Repos && git clone git@github.com:mosheavni/dotfiles.git && 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 < .tool-versions
    asdf install
  6. Open iTerm2 and start using a real terminal. Also, install shell intergrations

    cd ~/Repos/dotfiles
    curl -L https://iterm2.com/misc/install_shell_integration.sh | bash
  7. Install oh-my-zsh and its plugins

    sh -c \
      "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    
    git clone \
      https://github.com/TamCore/autoupdate-oh-my-zsh-plugins \
      ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/autoupdate
    
    git clone \
      https://github.com/zsh-users/zsh-syntax-highlighting.git \
      ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
    
    git clone \
       https://github.com/zsh-users/zsh-autosuggestions \
       ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
    
    git clone \
        https://github.com/loiccoyle/zsh-github-copilot \
        ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-github-copilot
  8. Install effuse:

    sudo gem install effuse
  9. Run effuse to create the symlinks between the repo dir and the home dir: effuse

  10. Install npm packages

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

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

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

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

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

  16. PROFIT

Additional stuff

  • Adjust dock and keyboard settings

  • Link iTerm2 and Karabiner profiles

  • Download and install docker

  • Change clipy shortcuts, and load snippets

  • Install magnet

  • Install Mac Media Key Forwarder

  • Install Snagit