]> git.alrj.org Git - zsh.d.git/blobdiff - S90_prompt
Slightly longer path displayed before the git branch in prompt
[zsh.d.git] / S90_prompt
index adc68c2a9279daf2a04b1cd09568d50d658d71d9..2fe519a29479787bbc7f1adb21b96833a398e742 100644 (file)
@@ -27,11 +27,12 @@ _exitcode="%(?::${C_BRED}[ %? ]${C_NO}
 )$(true)"
 
 _action="%(3v,%3v%,)"
-_path='${C_GREEN}%(5v,%15<..<%5v%<<${C_NO}${C_MAGENTA}@%4v%3v${C_NO}${C_GREEN}/%15<..<%6v%<<,%25<..<%~%<<)${C_NO}'
+_path='${C_GREEN}%(5v,%20<..<%5v%<<${C_NO}${C_MAGENTA}@%4v%3v${C_NO}${C_GREEN}/%15<..<%6v%<<,%25<..<%~%<<)${C_NO}'
 
 
 #
 # Now, the prompt itself
 #
-PROMPT="${_exitcode}${_hour} ${_username}@${_machine}:${_vcs}${_path}$ "
+#PROMPT="${_exitcode}${_hour} ${_username}@${_machine}:${_vcs}${_path}$ "
+PROMPT="${_exitcode}${_username}@${_machine}:${_vcs}${_path}$ "