Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[BUG] Line number in prompt after `zle reset-prompt'
- X-seq: zsh-workers 37034
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: [BUG] Line number in prompt after `zle reset-prompt'
- Date: Sat, 31 Oct 2015 19:42:52 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=HM6dywBHtpk+S5dgRTsqiLmw/kxHlLhmErVT6FEkJkA=; b=AWZ03fXPpFV3Xi1L1LE1xZ+8oHjkYrKEiqZY2J24yVtcZ5RiujmBQpFLu9OdO0n2To sjfRsCFO+TCMDgdsHMhJn/kWXfak+SqPYTgQwNdySUyq1Z7HDAcMne1gfAzAYZLM8RlV Ft54xaHcNj2AS+03IAydF9a1V2dHk8N/Yp2PFm5LmxGmNg4cYfNED52gPYa6CACzyQsD eVrIRuk6jCLFLAEAn/FUbBJqVaZmeBfJBSV2CazRgCA0kMd+KaX+gw094MFRDHmJRFVo Xgdn44gapOowwj8xaCJ95uaSSr9o40vcCnf5lc/JtHAaeX3O6QFOulqZfpUxVcutDblc KI7g==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hello
To reproduce:
PROMPT="%i # "
a() { zle reset-prompt }
zle -N a
bindkey "^E" a
and press Ctrl-E. Line number will change, most probably to "0", but
in my other large script it changes to 50 and other numbers, depending
on what I do with the script
Best regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author