X-Git-Url: https://git.alrj.org/?p=zsh.d.git;a=blobdiff_plain;f=S90_prompt;h=4ecb0799dca2cce41815b789e269ec63afcc1db2;hp=8017507d5331239836200f2b2fac3a29e94bced1;hb=HEAD;hpb=d564b8e0f70cd3cbc88733e2921f0a77a129a1f5 diff --git a/S90_prompt b/S90_prompt index 8017507..4ecb079 100644 --- a/S90_prompt +++ b/S90_prompt @@ -34,7 +34,7 @@ setprompt() # Git status in the pwd, if applicable if [[ -n ${__ZSH_GIT_BASEDIR} ]]; then _basedir="${C_GREEN}%20<..<${__ZSH_GIT_BASEDIR}%<<${C_NO}" - _branch="${C_MAGENTA}@${__ZSH_GIT_BRANCH}${__ZSH_GIT_ACTION}${C_NO}" + _branch="${C_MAGENTA}@%20>..>${__ZSH_GIT_BRANCH}%>>${__ZSH_GIT_ACTION}${C_NO}" _status="${__ZSH_GIT_STATUS}" _subdir="${C_GREEN}/%15<..<${__ZSH_GIT_SUBDIR}%<<${C_NO}" _path="${_basedir}${_branch}${_status}${_subdir}" @@ -57,4 +57,4 @@ setprompt() # Now, the prompt itself # PROMPT='$($get_exitcode)$(setprompt)$ ' -RPROMPT='$(battery_level)' +# RPROMPT='$(battery_level)'