代码拉取完成,页面将自动刷新
同步操作将从 不要太认真/ohmyzsh 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# The Official Theme of
## ## ## ## ##
### ### ## ## ##
#### #### ## ## ##
## ### ## ## #########
## ## ## ## ##
## ## ## ## ##
## ## ######## ## ##
# # # # # # # # # # # # # # # # # #
# # # Feel free to customize! # # #
# # # # # # # # # # # # # # # # # #
# To easily discover colors and their codes, type `spectrum_ls` in the terminal
AT_SYMBOL=" @ "
IN_SYMBOL=" in "
ON_SYMBOL=" on "
SYMBOL="$"
USER_COLOR="%F{001}"
DEVICE_COLOR="%F{033}"
DIR_COLOR="%F{220}"
BRANCH_COLOR="%F{001}"
TIME_COLOR="%F{033}"
username() {
echo "$USER_COLOR%n%f"
}
# Returns device name
device() {
echo "$DEVICE_COLOR%m%f"
}
# The current directory
directory() {
echo "$DIR_COLOR%1~%f"
}
# Current time with milliseconds
current_time() {
echo "$TIME_COLOR%*%f"
}
# Return status of the last command
return_status() {
echo "%(?..%F{001}out %?)%f"
}
# Set the git_prompt_info text
ZSH_THEME_GIT_PROMPT_PREFIX="${ON_SYMBOL}${BRANCH_COLOR}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%f"
ZSH_THEME_GIT_PROMPT_DIRTY=""
ZSH_THEME_GIT_PROMPT_CLEAN=""
# %B and %b make the text bold
PROMPT='%b$(username)$AT_SYMBOL$(device)$IN_SYMBOL$(directory)$(git_prompt_info)%b $SYMBOL '
RPROMPT="$(return_status) $(current_time)"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。