delete computer name in prompt

This commit is contained in:
Jie Feng 2017-08-09 16:44:44 +08:00
parent ac4c78749b
commit df13e423f8

View File

@ -67,7 +67,7 @@ function prompt_skwp_setup {
# ruby info (rvm, rbenv)
zstyle ':prezto:module:ruby:info:version' format '[%v]'
PROMPT="${__PROMPT_SKWP_COLORS[3]}%n%f@${__PROMPT_SKWP_COLORS[2]}%m%f ${__PROMPT_SKWP_COLORS[5]}%~%f "'$git_info[prompt]'"$ "
PROMPT="${__PROMPT_SKWP_COLORS[3]}%n%f ${__PROMPT_SKWP_COLORS[5]}%~%f "'$git_info[prompt]'"$ "
RPROMPT='%F{blue}${ruby_info[version]}'
}