我的终端使用主题宇宙飞船。但我有两个警告:
Warning! The 'ember' section was not found. Removing it from the prompt. Warning! The 'vi_mode' section was not found. Removing it from the prompt.
和我的 .zshrc 文件(我写的不是评论):
export PATH=$HOME/bin:/usr/local/bin:$PATH
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="spaceship"
SPACESHIP_PROMPT_ORDER=(user dir host git ruby node line_sep char)
DISABLE_MAGIC_FUNCTIONS="true"
ENABLE_CORRECTION="true"
HIST_STAMPS="mm/dd/yyyy"
plugins=(git)
source $ZSH/oh-my-zsh.sh