不知何故,我的终端(我在OSX High Sierra上使用iTerm2)总是在提示后出现怪异的颜色溢出。这个问题实际上并不是关键问题,但如果可以解决,那就很好。
我的配置是
BULLETTRAIN_PROMPT_ORDER=(
# time
# custom
# context
dir
virtualenv
# screen
# perl
# ruby
# aws
# go
# rust
# elixir
git
# hg
status
cmd_exec_time
)
BULLETTRAIN_PROMPT_SEPARATE_LINE=true
#BULLETTRAIN_DIR_EXTENDED=1
#BULLETTRAIN_DIR_FG="178"
#BULLETTRAIN_DIR_BG="233"
BULLETTRAIN_DIR_EXTENDED=1
BULLETTRAIN_DIR_FG="17"
BULLETTRAIN_DIR_BG="117"
BULLETTRAIN_VIRTUALENV_BG="230"
BULLETTRAIN_VIRTUALENV_FG="22"
BULLETTRAIN_GIT_COLORIZE_DIRTY=true
BULLETTRAIN_GIT_COLORIZE_DIRTY_BG_COLOR="208"
BULLETTRAIN_GIT_COLORIZE_DIRTY_FG_COLOR="94"
BULLETTRAIN_GIT_BG="107"
BULLETTRAIN_GIT_FG="22"
BULLETTRAIN_EXEC_TIME_BG="189"
BULLETTRAIN_EXEC_TIME_FG="25"
BULLETTRAIN_PROMPT_CHAR="$"
# Which plugins would you like to load?
# Standard plugins can be found in ~/.oh-my-zsh/plugins/*
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/