LinuxCommandLibrary

oh-my-zsh

TLDR

Install Oh My Zsh

$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
copy
Update Oh My Zsh
$ omz update
copy
Change theme
$ omz theme set [robbyrussell]
copy
List installed plugins
$ omz plugin list
copy
Enable plugin
$ omz plugin enable [git]
copy
Reload configuration
$ source ~/.zshrc
copy

SYNOPSIS

omz command [args]

DESCRIPTION

Oh My Zsh is a framework for managing Zsh configuration. It provides themes, plugins, and helper functions to enhance the Zsh shell experience.
Configuration is in ~/.zshrc, with plugins and themes in ~/.oh-my-zsh.

PARAMETERS

update

Update Oh My Zsh.
theme set name
Set theme.
theme list
List themes.
plugin enable name
Enable plugin.
plugin disable name
Disable plugin.
plugin list
List plugins.

CONFIGURATION

$ # ~/.zshrc
ZSH_THEME="robbyrussell"
plugins=(git docker kubectl node)
source $ZSH/oh-my-zsh.sh
copy

POPULAR PLUGINS

$ git, docker, kubectl
node, npm, python
zsh-autosuggestions
zsh-syntax-highlighting
copy

CAVEATS

Can slow shell startup with many plugins. Requires Zsh as default shell. Custom themes in ~/.oh-my-zsh/custom/themes.

HISTORY

Oh My Zsh was created by Robby Russell in 2009 and has become the most popular Zsh framework with thousands of contributors.

SEE ALSO

zsh(1), bash(1), starship(1)

Copied to clipboard