Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
adam2 prompt truncating command output
- X-seq: zsh-users 22949
- From: xeyrion@xxxxxxxxx
- To: zsh-users@xxxxxxx
- Subject: adam2 prompt truncating command output
- Date: Mon, 30 Oct 2017 06:27:13 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=zW1TVkOPJEaQeWfpfYdFe7a+rYw70roDxGAWDbyYq1I=; b=hqeFV8aIlQLRg6oMJfo7XL8TuqSZIC0LqaZ8buZTjXMWudBypcyMYWWW5Vy9ek1PDk /wSXXCQ4GLr7zYBstTFcuUUNOsFyR5iiyecd7mGrKGLdYr9+tgGcemvQbpYri5OUfKom yE7QqOb3XjkDWRv72Wq4Pn9qdOgWmnZSeUwuQJ3ziNmz85mAMApAxMnRaDT4Y6Ymt3hM sydQIiZlWZG/EUBV83H57ismWzJUVXtjd03XF3eLnzm6zGQlscKdOJbhyYR8ifuDDDaC egGBsxP9Fxl7ZcRuzNeaPD+n9IC1DWGl/2367wWBpSr/yMtcrYWVhzf2vjotil99jez7 Hf5Q==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hello,
It looks like using adam2 prompt truncates command output if the output
does not end with a newline:
-------------------------
`--> zsh --no-globalrcs --no-rcs
dt% echo -n
asd
asd%
dt% autoload -Uz colors && colors
dt% autoload -Uz promptinit && promptinit
dt% prompt adam2
-------------------------
`--> echo -n asd
-------------------------
`-->
I assume this is a bug with the prompt? Could anyone recommend a work
around / fix? The prompt works and looks great otherwise.
Zsh version is 5.4.2.
Thanks in advance.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author