Browse Source

zsh: 30 → 50 chars of path on prompt

raylu 7 years ago
parent
commit
bd80694655
1 changed files with 1 additions and 1 deletions
  1. 1 1
      zshrc

+ 1 - 1
zshrc

@@ -58,7 +58,7 @@ zstyle ':vcs_info:*' enable git hg bzr svn cvs
 precmd () { vcs_info }
 precmd () { vcs_info }
 PROMPT="%{$fg_bold[grey]%}%* " # time
 PROMPT="%{$fg_bold[grey]%}%* " # time
 PROMPT+="%{${fg_bold[green]}%}%m%{${reset_color}%}:" # host
 PROMPT+="%{${fg_bold[green]}%}%m%{${reset_color}%}:" # host
-PROMPT+="%{${fg_bold[blue]}%}%30<...<%~%<<%{${reset_color}%} " # path
+PROMPT+="%{${fg_bold[blue]}%}%50<...<%~%<<%{${reset_color}%} " # path
 PROMPT+='${vcs_info_msg_0_} '
 PROMPT+='${vcs_info_msg_0_} '
 PROMPT+="%(?..%{$fg_bold[red]%}%? %{$reset_color%})" # exit status
 PROMPT+="%(?..%{$fg_bold[red]%}%? %{$reset_color%})" # exit status
 PROMPT+="%1(j.%{$fg[green]%}%j .)" # suspended jobs
 PROMPT+="%1(j.%{$fg[green]%}%j .)" # suspended jobs