Skip to content

geek-kb/dotfiles

Repository files navigation

Itai Ganot's DotFiles

Usage

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

This guide is for MacOS only as it configures shortcuts and settings that are specific to MacOS.

  1. Install xcode-select

    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 nvm

1.5. Install Node.js LTS via NVM and Global Packages

nvm install --lts
nvm use --lts
  1. Clone this repo:

    If you have a different path for your git repositories, change the path accordingly

    REPO_DIR=~/src
    [[ -d $REPO_DIR ]] || mkdir $REPO_DIR
    cd ~ && git clone git@github.com:geek-kb/dotfiles.git .dotfiles && cd .dotfiles

Then install your global npm packages:

```bash
chmod +x ~/.dotfiles/node/install-npm-globals.sh
~/.dotfiles/node/install-npm-globals.sh
```
  1. Install antidote

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

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

    brew bundle install --file=~/.dotfiles/Brewfile
  4. Open Wezterm

  5. 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
  6. Create python VirtualEnv

    venvname=".myenv"
    python3 -m venv ~/$venvname
    source ~/$venvname/bin/activate
    python3 -m pip install --upgrade pip
    python3 -m pip install --upgrade setuptools
    python3 -m pip install --upgrade wheel
    pip install -r ~/.dotfiles/requirements.txt
    deactivate
  7. Add support for recently installed fzf

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

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

    gh extension install github/gh-copilot --force

Usage (just NVIM)

Install requires Neovim 0.10+. Always review the code before installing a configuration. This allows you to see what the configuration does before you install it.

Clone the repository and install the plugins:

NAME="ENTER_YOUR_NAME_HERE"
git clone git@github.com:geek-kb/dotfiles "~/.config/$NAME/dotfiles"

Open Neovim with this config:

NVIM_APPNAME="$NAME/dotfiles/nvim/.config/nvim" nvim

An almost complete shortcuts cheat sheet, can be found here: vim-cheat-sheet

Additional stuff

  • Adjust dock and keyboard settings
  • Download and install docker
  • Install magnet
  • Install Snagit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published