-
Notifications
You must be signed in to change notification settings - Fork 427
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
Zsh on Arch container leaves behind characters after exiting completion #507
Comments
Hi @sbancuz can you test with this command?
Thanks |
I'm probably not understanding something, but that command does literally nothing on my machine. my .zshrc it's the standard that comes with oh-my-zsh with these plugins if it helps: |
Hi @sbancuz sorry I've given you the wrong command, try this: Then you install zsh and omzsh inside it with your configs, and try if it does the same problem |
Hi, thanks for the help with podman, never really used it that much. |
I am wondering if this could be related somehow to #398? But maybe not |
@sbancuz Not sure if it's the same issue to be honest So a plain podman container does not present this problem, this indeed is a distrobox issue and I'll need to do an investigation |
I also managed to connect to my arch container with vs code using the remote containers extension pack, and i don't see the problem. I suspect the bug is in the distrobox-enter script |
Thanks, I'll try to reproduce this Can anyone of you folks provide me a specific setup with zsh/omzsh that can reproduce this? Thanks |
zshrc.txt
Then if you want to try to reproduce the vscode thing using flatpak and podman look here flathub/com.visualstudio.code:55 |
Hey, I have the same problems using distrobox. This bug appears almost everytime I use Ctrl + R in terminal (to get old commands) |
Hi,
i know this might not be an issue with distrobox itself, but i really don't know where to submit this bug.
I created a new arch container and installed zsh, changed the default shell with
sudo chsh $USER -s /bin/zsh
and everything works fine (it even picks up my host's zsh configs with oh-my-zsh), but when i try to use autocompletion with tab sometimes it leaves some characters behind that are not part of the "command string buffer".As you can see the part left behind from completion doesn't create any problems but it's just annoying.
As for the motivation why i submit this bug here and not to Konsole (terminal emulator i'm using) or zsh is because when i use zsh in my host system this doesn't happen.
sample copy pasted from my terminal
The LA and is in the beginning of the command are never registered and as you can see the command after runs fine.
I'm on fedora Kinoite 36, kernel 6.0.5 (but i had this bug even before updating the kernel)
distrobox v1.4.1, podman v4.2.1 and the latest arch image
The text was updated successfully, but these errors were encountered: