diff --git a/zsh/prompt.zsh b/zsh/prompt.zsh index a2d8fac..e625ee9 100644 --- a/zsh/prompt.zsh +++ b/zsh/prompt.zsh @@ -89,14 +89,8 @@ zshrc_prompt_precmd() { # suffix characters in first and second line local top_suffix="%F{cyan}${top_right_corner}%f" local bottom_suffix="%F{cyan}${bottom_right_corner}%f" - # use %{ .. %} for bottom_right_corner to remove useless space after RPROMPT # remove useless space after RPROMPT - if [[ $TERM != "tmux-256color" ]]; then - # use %{ .. %} for bottom_right_corner if not in tmux - bottom_suffix="%{${bottom_suffix}%}" - else - ZLE_RPROMPT_INDENT=0 - fi + ZLE_RPROMPT_INDENT=-1 # combine them to create the prompt local top_left=""