-
-
Notifications
You must be signed in to change notification settings - Fork 170
Autocomplete repeatadly adding a semicolon";" to the end of a command on up arrow #797
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Happens to me. Three bisect gives me this:
8993b9c looks like an intended feature rather than an introduced bug tho. I'm resetting back to https://github.com/marlonrichert/zsh-autocomplete/tree/24.09.04 do let me know when this is resolved. |
Happens to me as well. |
I'm also have this problem |
Bump |
I just installed it for the first time and thought maybe I was doing something wrong. Glad to see it isn't just me. |
same |
@tiankaima I think you did something wrong with your bisect, because 8993b9c does not affect that functionality at all. |
I'm unable to reproduce this. Here's what I did: % cd $(mktemp -d)
% git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git
% > .zshrc <<EOF
setopt interactivecomments transientrprompt
PS1='%# '
PS2=
RPS2='%^'
source $PWD/zsh-autocomplete/zsh-autocomplete.plugin.zsh
EOF
% env -i HOME=$PWD PATH=$PATH TERM=$TERM ${TERMINFO:+TERMINFO=$TERMINFO} zsh -d
~TMPDIR/tmp.DJoysD5zfQ/
Cloning into 'zsh-autocomplete'...
remote: Enumerating objects: 54, done.
remote: Counting objects: 100% (54/54), done.
remote: Compressing objects: 100% (52/52), done.
remote: Total 54 (delta 0), reused 33 (delta 0), pack-reused 0 (from 0)
Receiving objects: 100% (54/54), 1.64 MiB | 5.34 MiB/s, done.
% echo foo
foo
<press up arrow>
% echo foo;
<press enter>
% echo foo
foo
<press up arrow>
% echo foo;
<press enter twice>
% echo foo
foo
% history
1 echo foo
2 echo foo
3 echo foo
% I'll reopen this if you can give me a reproducible test case. |
Yeah you're right on this. I'm having zsh in tmux so the whole thing is messed up and perhaps I forgot to create a new zsh or so. A new bisect gives me 11f1145 this time I think it might be onto something
I am still able to reproduce the bug with the MRE:
|
Maybe it depends on the version of zsh? EDIT: wait, sorry, actually it's |
Could be lines 134-136 in file EDIT: My guess is that excluding widgets like |
Seeing this issue with 25.03.19 and zsh version 5.8.1 on Ubuntu 22.04 |
Environment
Details
After upgrading to latest version of this plugin we are now getting a new semi colon added to the end of the line each time up arrow is used to get to the last history item.
No other
.zshrc
changes were made.I tried installing the latest version of
oh-my-zsh
and it didn't helpI tried removing pretty much all configuration from the
.zshrc
, including all otherzsh
plugins and it didn't help except removing the call to loadoh-my-zsh
, i.e.source $ZSH/oh-my-zsh.sh
The text was updated successfully, but these errors were encountered: