Skip to content

Instantly share code, notes, and snippets.

@markkcc
Last active May 8, 2024 16:14
Show Gist options
  • Save markkcc/4eced4ec37f0f7bf12d298682deef0d1 to your computer and use it in GitHub Desktop.
Save markkcc/4eced4ec37f0f7bf12d298682deef0d1 to your computer and use it in GitHub Desktop.
New Macbook Setup

Macbook Setup

  • Terminal: iTerm2 brew install iterm2
    • Font: IBM Plex
      • brew tap homebrew/cask-fonts
      • brew install font-ibm-plex
  • Homebrew:
    • /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    • (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/mfk/.zprofile
    • eval "$(/opt/homebrew/bin/brew shellenv)"
  • bat
    • brew install bat
  • ripgrep
    • brew install ripgrep
  • ohmyzsh:
    • sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    • vim ~/.zshrc and set theme to gallois or jonathan
    • source ~/.zshrc
  • ohmyzsh Plugins:
    • Autosuggestions:
      • brew install zsh-autosuggestions
      • echo 'source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh' >> ~/.zshrc
    • Autocomplete:
      • brew install zsh-autocomplete
      • echo 'source /opt/homebrew/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh' >> ~/.zshrc
    • Syntax highlighting:
      • brew install zsh-syntax-highlighting
      • echo 'source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' >> ~/.zshrc
      • If you receive "highlighters directory not found" error message, you may need to add the following to your .zshenv: export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/opt/homebrew/share/zsh-syntax-highlighting/highlighters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment