Skip to content

Instantly share code, notes, and snippets.

@gary-liguoliang
Last active August 29, 2019 06:02
Show Gist options
  • Save gary-liguoliang/c7eabd7b83c84626c2429bec7e4f028f to your computer and use it in GitHub Desktop.
Save gary-liguoliang/c7eabd7b83c84626c2429bec7e4f028f to your computer and use it in GitHub Desktop.
  • install homebrew

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    

    source: https://brew.sh/

  • install iterm2

    brew cask install iterm2
    
  • install and config zsh

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    
    # set theme
    sed -i -E 's/^ZSH_THEME=.+$/ZSH_THEME="agnoster"/g' ~/.zshrc
    
    # check font support
    echo "\ue0b0 \u00b1 \ue0a0 \u27a6 \u2718 \u26a1 \u2699"
    
    # install patched font
    brew tap caskroom/fonts && brew cask install font-source-code-pro 
    

    see:

  • install vs code

    brew cask install visual-studio-code
    
  • config git username/email

    git config --global user.email "[email protected]"
    git config --global user.name "user-name"
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment