oh-my-zsh

Oh My Zsh is a delightful, open source, community-driven framework for managing your Zsh configuration. It comes bundled with thousands of helpful functions, helpers, plugins, themes, and a few things that make you shout…
“Oh My ZSH!”

Quick Start

Install oh-my-zsh now

Oh My Zsh is installed by running one of the following commands in your terminal. You can install this via the command-line with either curl or wget.

1
2
3
4
5
# Install oh-my-zsh via curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

# Install oh-my-zsh via wget
sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"

Not ready to jump right in? We’re not offended; it’s never a bad idea to read the documentation first.

Psst… Oh My Zsh works best on macOS or Linux.

THEME

1
brew install romkatv/powerlevel10k/powerlevel10k

More info: powerlevel10k

PLUGINS

  • autojump
  • zsh-syntax-highlighting
1
2
3
4
5
6
7
8
9
10
brew install autojump

# 补全提示
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

# 国内镜像
git clone https://gitee.com/han8gui/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://gitee.com/Annihilater/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

upgrade

1
upgrade_oh_my_zsh