zsh-vi-mode
zsh-vi-mode copied to clipboard
The value of `%_` in `PS2` is not correct when `zsh-vi-mode` is loaded
General information
Basic examination
- [x] I have read through the README page
- [x] I have the latest version of zsh-vi-mode
- [x] I have tested with another terminal program
Problem description
The PS2
prompt does not show up properly after loading zsh-vi-mode
.
Reproduction steps
A minimum .zshrc to reproduce the problem
ZPLUG_HOME=~/.zplug
source $ZPLUG_HOME/init.zsh
zplug "jeffreytse/zsh-vi-mode"
zplug load
Result showing the content of PS2
and its effects:
Expected behavior
The following is the correct behavior, which I got without loading zsh-vi-mode
:
Hi @xulongwu4
I don't have this issue in my environment.
Could you please provide your zsh version and terminal information?
Thanks and Regards
Hi @xulongwu4
I don't have this issue in my environment.
Could you please provide your zsh version and terminal information?
Thanks and Regards
@jeffreytse Thanks for taking a look at it. My zsh version is 5.8.0. I tried gnome-terminal and alacritty, and both of them have this problem.
By the way, the value of %_
does not seem correct in your screenshot as well? I would expect the value of %_
be for
in your case, but it turns out to be then
. I am wondering if your prompt plugin could affect the test results there.
Hi @xulongwu4
Thanks for your issue, and sorry for the late reply, currently I'm quite busy, I will research your issue when I am possible. Hope you have a good day! : )
Thanks and Regards
anything new on this?