You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed that if I have a repository in version control and the upper directory names + the branch name are long enough - the shell prompt just gets ruined and doesn't show up on screen. Sometimes all I see is just <.
Does promptline know when this happens (by taking into account terminal width) and can it do anything to dynamically shorten displayed items so it fits?
For example: I am happy with current behavior as long as I see the prompt line. If it gets too big as I navigate deeper, I'd like promptline to show a shorter version of cwd or not show it at all if it can't fit. Cwd in prompt is handy, but when I'm inside a repository, I'd like to see the branch name (highest priority) and the user name (if both fit), then cwd (eventually in shortened form, so it fits on screen).
The text was updated successfully, but these errors were encountered:
I have noticed that if I have a repository in version control and the upper directory names + the branch name are long enough - the shell prompt just gets ruined and doesn't show up on screen. Sometimes all I see is just <.
Does promptline know when this happens (by taking into account terminal width) and can it do anything to dynamically shorten displayed items so it fits?
For example: I am happy with current behavior as long as I see the prompt line. If it gets too big as I navigate deeper, I'd like promptline to show a shorter version of cwd or not show it at all if it can't fit. Cwd in prompt is handy, but when I'm inside a repository, I'd like to see the branch name (highest priority) and the user name (if both fit), then cwd (eventually in shortened form, so it fits on screen).
The text was updated successfully, but these errors were encountered: