Closed FastDust11 closed 9 months ago
Just to make sure that You understand me correctly more example: (I only wrote sda) Later I cannot delete it and start writing from it: Other, I wrote "sudo mkfs.ext4 /dev/sda1" and have this strange autofill in the middle:
That's strange, did you previously have a zsh configuration?
I understand the error, it should only show you the suggestion but it should not be filled in automatically.
I have never received issues about this failure, you are the first, this afternoon I will look for information about this and I will try to help you.
If you have much problems try change to bash for now, chsh -s /usr/bin/bash
In what os you are? it was a new installation?
The way that it works, you start tipying, and a suggestion will be showed, only if you press the right arrow key, it will autofilled, but if not press the right arrow, you should keep writing as normally. But in your case is auto filled, thats not suppose to be. In .config/zsh/ delete zcompdump and zshistory files. then open a terminal and write source zsh
.
Yup it's new linux arch installation by this guide "https://www.youtube.com/watch?v=68z11VAYMS8&t=14s&pp=ygUSbGludXggYXJjaCBpbnN0YWxs" after that I installed Your dotfiles. I got some problem cause "startx" won't work but my friend helped me with that doing some linux magic, don't think it's connected and I don't think I installed zsh at that time.
After that zsh work without problems, I used system for few days, did some changes in gui, installed few basic apps but nothing special connected to zsh in my knowledge. Only problem I encounter is that in split screen with zsh on one side in longer commands it stop showing what I writing showing blank space but I just move zsh to other desktop so it's not so big deal, don't know it's connected to my main problem tho.
The problem does not always occur it's kinda random (maybe more often when I copy past something, but it's not a rule) when it does I have to close terminal and open new one to fix it.
"In .config/zsh/ delete zcompdump and zshistory files. then open a terminal and write source zsh" after that I get some strange response showed lower:
source zsh
[2] 5057
/usr/bin/zsh:1: no such file or directory: ^@^A^@^@^@\M-p^A^@^@^@^@^@@^@^@^@^@^@^@^@\M-^X\M-]^N^@^@^@^@^@^@^@^@^@@^@8^@^M^@@^@^[^@^Z^@^F^@^@^@^D^@^@^@@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@\M-X^B^@^@^@^@^@^@\M-X^B^@^@^@^@^@^@^H^@^@^@^@^@^@^@^C^@^@^@^D^@^@^@^X^C^@^@^@^@^@^@^X^C^@^@^@^@^@^@^X^C^@^@^@^@^@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(U^M^@^@^@^@^@^L^@^@^@^@^@^@^L^@^@^@^@^@^@^D^@^@^@^@^@^@^@Q\M-etd^F^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^P^@^@^@^@^@^@^@R\M-etd^D^@^@^@\M-0j^N^@^@^@^@^@\M-0z^N^@^@^@^@^@\M-0z^N^@^@^@^@^@P^U^@^@^@^@^@^@P^U^@^@^@^@^@^@^A^@^@^@^@^@^@^@/lib64/ld-linux-x86-64.so.2^@^@^@^@^@^D^@^@^@@^@^@^@^E^@^@^@GNU^@^B^@^@\M-@^D^@^@^@^C^@^@^@^@^@^@^@^B\M-^@^@\M-@^D^@^@^@^A^@^@^@^@^@^@^@^A^@^A\M-@^D^@^@^@ [3] 5058 /usr/bin/zsh:3: unmatched ' /usr/bin/zsh:2: parse error in command substitution [2] - exit 1 ELF > [3] + exit 1 pLi�c�E 2D < /usr/bin/zsh:6: command not found: \M- DD\M-1^D\M-^BH^A^A\M-^Q /usr/bin/zsh:7: command not found: ^D /usr/bin/zsh:9: parse error near
)'
/usr/bin/zsh:8: parse error in command substitution
if you still having that strange response when open a terminal just write compinit -C -d $ZDOTDIR/zcompdump
close terminal and open again.
Yeah thats strange if its not happend always, mmm maybe a problem in your keyboard or mouse? i guess not but just be sure. You have correctly set your layout keyboard?
Dont know about this but i will search for some info.
I use no mouse but indeed I was changing keyboard layout after installation, in general it works but I will check tomorrow, maybe I made some mistake will check that. Thanks for an idea.
actually i didnt find anything about this :s
Okay so I found out that I set Polish keyboard layout (in Poland we use US one, I don't even know what this monstrosity (Polish layout) is. It looked like it helped, but I cannot say for 100% cause error occurred randomly and day after I change it I bricked the system and did full reinstall.
For example I try to write "sudo" and it autocomplete as in picture bellow, without me pressing any button: Then I can only delete to "sudo mkf" and I'm writing from it: The problem repeats in many other examples, making using zsh very annoyign. Clearing history helps but only for a short time. It almost new install where I definitely do not change anything connected to zsh, but I'm new to linux so maybe somehow I did something unintentionally or something working different then I understand it. Would be glad if You could help or give me some advice. I think of commenting .zshrc, but it's little overwhelming and don't know where I should start. I would like to save as much functionality as I could, cause when it was working it was working great ;).
Thanks for great dotfiles