mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
add oh my zsh dir
This commit is contained in:
parent
0fed36688f
commit
c0cb9a77ef
1 changed files with 7 additions and 6 deletions
|
|
@ -11,12 +11,13 @@ $(_user_host)${_current_dir} $(git_prompt_info) $(ruby_prompt_info)
|
||||||
|
|
||||||
PROMPT2='%{%(!.${fg[red]}.${fg[white]})%}◀%{$reset_color%} '
|
PROMPT2='%{%(!.${fg[red]}.${fg[white]})%}◀%{$reset_color%} '
|
||||||
|
|
||||||
__RPROMPT='$(vi_mode_prompt_info)%{$(echotc UP 1)%}$(_git_time_since_commit) $(git_prompt_status) ${_return_status}%{$(echotc DO 1)%}'
|
# __RPROMPT='$(vi_mode_prompt_info)%{$(echotc UP 1)%}$(_git_time_since_commit) $(git_prompt_status) ${_return_status}%{$(echotc DO 1)%}'
|
||||||
if [[ -z $RPROMPT ]]; then
|
# if [[ -z $RPROMPT ]]; then
|
||||||
RPROMPT=$__RPROMPT
|
# RPROMPT=$__RPROMPT
|
||||||
else
|
# else
|
||||||
RPROMPT="${RPROMPT} ${__RPROMPT}"
|
# # RPROMPT="${RPROMPT} ${__RPROMPT}"
|
||||||
fi
|
# RPROMPT="${RPROMPT}"
|
||||||
|
# fi
|
||||||
|
|
||||||
function _user_host() {
|
function _user_host() {
|
||||||
local me
|
local me
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue