For some reason autosuggestions breaks my prompt and ends up with it printing chars like "[?1h". It still technically works but it's unreadable. Can be avoided by typing very slow but that's not practical. Have you experienced this?
It could be due to some system configuration issue most likely if not a known bug in zsh. I would recommend changing the characters used in your default prompt (PS1) to weed out any incompatible characters. Also check your 'locale' and 'encoding' settings if they are correct and consistent. If required regenerate locale or even set it via zshrc. Here is a useful link, check it out... help.ubuntu.com/community/Locale
Thats Alright! Even with 'GitBash on Windows' the above notes about locale and encoding still apply. You may find your bashrc and zshrc config files at following path on windows 'C:\Users\UserName'. Also you can issue locale / encoding commands on Git prompt as well. Give it a try. All the best!
@@Askbowe @Automation Dojos | Vlog the problem you are facing because of zsh-autosuggestions plugin. when you are entering new command it shows weird character but if you enter old command it just work fine. I have just found that problem reason but still not found any result of solving.
Hello Shivam, sorry for bit late response! Quite a few other users also reported similar issue as you can see from video chat. For me this solution has worked out of the box, never had issues but yes it may depend on your system and sub-system config. Below are some basic pointers which might help : 1) Check and re-set locale of your zsh/bash 2) Try updating Git for Widows as well as get the latest version of zsh package from MYSYS. (if available) 3) Check your PS1 prompt file and remove any unwanted special characters if present in the prompt. keep it minimalistic initially. 4) Make sure you have the correct Glyph supporting fonts (very important!) 5) Try re-running the p10k configuration wizard and choose the options carefully. 6) Other users reported that zsh auto completion plugin could be the culprit, so try removing this plugin and see if it helps. All the best!
@@olivertzunun3798 Meslo font is recommended for Powerlevel theme only. For agnoster, you need to install one of the 'Powerline' fonts. Checkout the following links github.com/agnoster/agnoster-zsh-theme#compatibility github.com/ohmyzsh/ohmyzsh/wiki/Themes#agnoster
Karthick, I have copied most recent config into github gist. This might not be same as the one in video but quite close. Here is the link share.automationdojos.com/oh-my-zsh-p10k Hope that helps.
Hello Juan, First of all you need to install Mintty themes. You can watch this video for how to install Mintty - ua-cam.com/video/pCera_b78sY/v-deo.html If you already have Mintty theme installed and even then, you dont see the .minttyrc file automatically created then you need to manually create .minttyrc file. Normally after intalling Mintty theme, if you make some changes by selecting random themes and saving them. Then it should automatically create a .minttyrc file for you. If it does not then create manually.
Damn this video is hidden gem man, thank you so much for this video.
Thanks! Glad you found it useful!
That's the complete guide... thank's very much... ⭐⭐⭐⭐⭐
TY
amazing series, thanks so much for putting this together
Glad you like it! My pleasure!
hi, you deserve at least 100k subs, you explain things very well. thanks a lot
So nice of you! Thanks!
I've needed this for so long!!
Exactly the video i wanted !
Thanks a lot !
You're welcome! Glad it helped!
For some reason autosuggestions breaks my prompt and ends up with it printing chars like "[?1h". It still technically works but it's unreadable. Can be avoided by typing very slow but that's not practical. Have you experienced this?
i'm too , how to fix it ?
I got it to work ...but when i type fast or backspace it shows ghost characters
how to i solve that ??
It could be due to some system configuration issue most likely if not a known bug in zsh. I would recommend changing the characters used in your default prompt (PS1) to weed out any incompatible characters. Also check your 'locale' and 'encoding' settings if they are correct and consistent. If required regenerate locale or even set it via zshrc. Here is a useful link, check it out... help.ubuntu.com/community/Locale
@@AutomationDojos sorry I should have said.. I am using Windows with GiT bash
Thats Alright! Even with 'GitBash on Windows' the above notes about locale and encoding still apply. You may find your bashrc and zshrc config files at following path on windows 'C:\Users\UserName'. Also you can issue locale / encoding commands on Git prompt as well. Give it a try. All the best!
@@Askbowe @Automation Dojos | Vlog the problem you are facing because of zsh-autosuggestions plugin. when you are entering new command it shows weird character but if you enter old command it just work fine. I have just found that problem reason but still not found any result of solving.
@@AutomationDojos can you please solve?
how i can set default shell is zsh ? i dont know where is .bashrc file
Please check this link - www.automationdojos.com/change-default-linux-shell/
help:
i have successfully completed the process and now i'm running zsh but whenever i type in zsh it prints the following text
←[?1h←[?1
Hello Shivam, sorry for bit late response! Quite a few other users also reported similar issue as you can see from video chat. For me this solution has worked out of the box, never had issues but yes it may depend on your system and sub-system config. Below are some basic pointers which might help :
1) Check and re-set locale of your zsh/bash
2) Try updating Git for Widows as well as get the latest version of zsh package from MYSYS. (if available)
3) Check your PS1 prompt file and remove any unwanted special characters if present in the prompt. keep it minimalistic initially.
4) Make sure you have the correct Glyph supporting fonts (very important!)
5) Try re-running the p10k configuration wizard and choose the options carefully.
6) Other users reported that zsh auto completion plugin could be the culprit, so try removing this plugin and see if it helps.
All the best!
supprrrrrrrrrrrrrrrrrrrr
Wow!!! Thank you for making such a detailed video
Thx man!
You are welcome!
P10k configure icons not working. Which font I need to install.?
It requires MesloLGS font.
You can download the font from
github.com/romkatv/powerlevel10k/blob/master/font.md
OR
github.com/ryanoasis/nerd-fonts
The same thing happens to me, how i can solve this problem? in the window i show only a roow ">" it doesn't look like the agnoster theme
@@olivertzunun3798 Meslo font is recommended for Powerlevel theme only. For agnoster, you need to install one of the 'Powerline' fonts. Checkout the following links
github.com/agnoster/agnoster-zsh-theme#compatibility
github.com/ohmyzsh/ohmyzsh/wiki/Themes#agnoster
Could you share your p10k.zsh file somewhere pls..
Karthick, I have copied most recent config into github gist. This might not be same as the one in video but quite close. Here is the link share.automationdojos.com/oh-my-zsh-p10k
Hope that helps.
@@AutomationDojos Excellent, thanks a ton for making this video. Amazing tutorial...
@@itskarthickm Thanks! Glad it helped!
i dont have the file .minttyrc.
Hello Juan, First of all you need to install Mintty themes. You can watch this video for how to install Mintty - ua-cam.com/video/pCera_b78sY/v-deo.html
If you already have Mintty theme installed and even then, you dont see the .minttyrc file automatically created then you need to manually create .minttyrc file. Normally after intalling Mintty theme, if you make some changes by selecting random themes and saving them. Then it should automatically create a .minttyrc file for you. If it does not then create manually.
no, work....i belive was the fonts