davidbarna / dotfiles-macos

Environment configuration for MacOs computers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles-macos

Environment configuration for MacOs computers

Installation

Pre-install steps

  1. Install CommandLineTools (without Xcode)
    xcode-select --install
  2. Ensure git version is later than 2.13
    git --version
  3. Login to App Store to ensure paid apps can be installed
  4. Set up SSH in Github Learn more
    1. Generate key

      ssh-keygen -t ed25519 -C "davidbarna@gmail.com"
      eval "$(ssh-agent -s)"
      touch ~/.ssh/config && open ~/.ssh/config
    2. Paste this in .ssh/config

      Host *
      AddKeysToAgent yes
      UseKeychain yes
      IdentityFile ~/.ssh/id_ed25519
      
    3. Add to agent and copy ssh key

      ssh-add -K ~/.ssh/id_ed25519
      pbcopy < ~/.ssh/id_ed25519.pub
    4. Paste the key in your Github settings

Install steps

  1. Clone this repo in ~/dev
    cd ~ && mkdir dev && cd dev
    git clone git@github.com:davidbarna/dotfiles-macos.git
  2. Excute ./install
    cd ~/dev/dotfiles-macos
    ./install

What will happen

  1. Installs Homebrew.
  2. Installs all brew applications. See details
  3. Links config files to this repo's configs
    Creating link ~/.config/bat -> ~/dev/dotfiles-macos/config/bat
    Creating link ~/.zshenv -> ~/dev/dotfiles-macos/zshenv
    Creating link ~/.zshrc -> ~/dev/dotfiles-macos/zshrc
    Creating link ~/.gitconfig -> ~/dev/dotfiles-macos/gitconfig
  4. Installs node with n. See details
  5. Sets up mac osx options. See details

Post-install steps

  1. Login to Dropbox
  2. Open Alfred and set preference folder to Dropbox
  3. Change Alfred hotkey to cmd+space. Learn more
  4. Turn on settings sync on VScode.
  5. Restart computer

I've learned about dotfiles at dotfiles.eieio.xyz.

About

Environment configuration for MacOs computers

License:MIT License


Languages

Language:Shell 82.2%Language:Ruby 17.8%