* When a command fails, don't print the error code at the end of the
first line but directly after the git stats.
* Remove `cr` from `prompt_opts` since there is no longer a new line in
`PS1`, combined with above, this result in no new lines being inserted
when the terminal becomes narrower e.g. a horizontal tmux split.
* Remove `fresh_visible_length` function and instead use the length of
string variables e.g. `${#userhost}`.
6.0 KiB
6.0 KiB