← 返回命令列表

Linux command

oh-my-zsh 命令

网络

需要网络或远程资源。

常用示例

Install Oh My Zsh

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Update Oh My Zsh

omz update

Change theme

omz theme set [robbyrussell]

List installed plugins

omz plugin list

Enable plugin

omz plugin enable [git]

Disable a plugin

omz plugin disable [git]

List available themes

omz theme list

Reload Oh My Zsh configuration

omz reload

说明

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.

参数

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.
plugin info _name_
Show information about a plugin.
reload
Reload Oh My Zsh configuration.
changelog
Show the changelog.
version
Show the current version.
doctor
Diagnose common issues.

FAQ

What is the oh-my-zsh command used for?

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.

How do I run a basic oh-my-zsh example?

Run `sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does update do in oh-my-zsh?

Update Oh My Zsh.