Skip to content

Oh My Zsh Plugins

image

Oh My Zsh comes bundled with plugins, which allow you to take advantage of functionality of many sorts to your shell just by enabling them.

There are a list of plugins that we use:

How to install

Enable a plugin by adding its name to the plugins array in your .zshrc file.

Git

image

The git plugin provides many aliases and a few useful functions.

To use it, add git to the plugins array in your zshrc file:

plugins=(... git)

More about plugin

AWS

image

This plugin provides completion support for awscli and a few utilities to manage AWS profiles and display them in the prompt.

To use it, add aws to the plugins array in your zshrc file.

plugins=(... aws)

More about plugin

Zsh-autosuggestions

image

  1. Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins)
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
  1. Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc):
plugins=(... zsh-autosuggestions)
  1. Start a new terminal session.

More about plugin

Zsh-syntax-highlighting

image

  1. Clone this repository in oh-my-zsh's plugins directory:
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

2.Activate the plugin in ~/.zshrc:

plugins=(... zsh-syntax-highlighting)
  1. Start a new terminal session.

More about plugin

Terraform

image

Plugin for Terraform, a tool from Hashicorp for managing infrastructure safely and efficiently. It adds completion for terraform, as well as aliases and a prompt function.

To use it, add terraform to the plugins array of your ~/.zshrc file:

plugins=(... terraform)

More about plugin

Kubectl

image

This plugin adds completion for the Kubernetes cluster manager, as well as some aliases for common kubectl commands.

To use it, add kubectl to the plugins array in your zshrc file:

plugins=(... kubectl)

More about plugin

Colored-man-pages

image

This plugin adds colors to man pages.

To use it, add colored-man-pages to the plugins array in your zshrc file:

plugins=(... colored-man-pages)

It will also automatically colorize man pages displayed by dman or debman, from debian-goodies.

You can also try to color other pages by prefixing the respective command with colored:

colored git help clone

More about plugin


More plugins you can find in the official GitHub page.