[Pkg-zsh-devel] Zsh 5.7 bug #43288: fix line-broken prompts

Harri T. haba713 at gmail.com
Mon Jan 17 21:43:29 GMT 2022


On 17.1.2022 18.02, Harri T. wrote:
> Set the terminal width to 80 chars.
> $ docker run -it debian:buster sh
> # apt update && apt install -y zsh
> # zsh -l
> # export PS1='%~#'
> # mkdir -p /mnt/00000/11111/22222/33333/44444/55555/66666/77777/88888/99999/aaaaa/bbbbb/ccccc
> # cd /mnt/00000/11111/22222/33333/44444/55555/66666/77777/88888/99999/aaaaa/bbbbb/ccccc
> # cd /mnt/00000/11111/22222/33333/44444/55555/66666/77777/88888/99999/aaaaa/bbbbb/ccccc

Don't press enter after choosing the cd command from the command history before you...

> Try to edit the path argument of the second cd command.

Harri



More information about the Pkg-zsh-devel mailing list