Skip to content

Instantly share code, notes, and snippets.

@hadynz
Last active August 28, 2021 05:54
Show Gist options
  • Save hadynz/38bd9d1325b989868deb3427739aa494 to your computer and use it in GitHub Desktop.
Save hadynz/38bd9d1325b989868deb3427739aa494 to your computer and use it in GitHub Desktop.
Hady's favourite OhMyZsh plugins

This is a document that captures instructions for installing and configuring my primary Oh My Zsh plugins.

Getting Started

Prerequisites

Plugins

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

Configure ZSH shell

Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc):

plugins=(
  # other plugins...
  git 
  zsh-autosuggestions
  zsh-syntax-highlighting
)

Common aliases

alias dev="cd ~/Development"
alias icloud="cd ~/Library/Mobile\ Documents/com~apple~CloudDocs"
alias obsidian="cd ~/Library/Mobile\ Documents/com~apple~CloudDocs/Obsidian"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment