add oh my zsh dir

This commit is contained in:
mhrrmk 2024-04-19 21:23:25 +02:00
commit c0cb9a77ef

View file

@ -11,12 +11,13 @@ $(_user_host)${_current_dir} $(git_prompt_info) $(ruby_prompt_info)
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)%}'
if [[ -z $RPROMPT ]]; then
RPROMPT=$__RPROMPT
else
RPROMPT="${RPROMPT} ${__RPROMPT}"
fi
# __RPROMPT='$(vi_mode_prompt_info)%{$(echotc UP 1)%}$(_git_time_since_commit) $(git_prompt_status) ${_return_status}%{$(echotc DO 1)%}'
# if [[ -z $RPROMPT ]]; then
# RPROMPT=$__RPROMPT
# else
# # RPROMPT="${RPROMPT} ${__RPROMPT}"
# RPROMPT="${RPROMPT}"
# fi
function _user_host() {
local me