-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
autosuggestion not working for oh-my-zsh #416
Comments
You need to configure OMZ to load zsh-autosuggestions on every start-up. Add |
Yea so I have that already in my |
Ok I'm not sure why that wouldn't be working then. Maybe there is a typo or something? You could always add the manual |
That seemed to work. Thanks |
|
Could this perhaps be added to the README somewhere, under troubleshooting? |
Good idea! Please feel free to write something up and send a PR. |
I was missing the repo. To fix I ran: |
running |
for me, messed up |
thanks. |
To add on, under iTerm > Preferences > Profile > Colors, do not choose Solarized Dark as a Color Preset as "Background" and "ANSI Bright Black" are the same colour! |
I am trying to install zsh-autosuggestions. I followed the manual steps as well as homebrew steps. However, in both cases when I try to do
Can someone tell me what's wrong? |
for me the problem was simply wrong order of commands in .zshrc this line: was AFTER this line: I just swapped them and after that all plugins were loaded correctly. (no need for manual sourcing of plugins) |
@dipam7 it looks like you’re using bash. This is a plug-in for zsh so it won’t work in bash. Install and use zsh to use this plugin. It looks like there’s a good write up on installing zsh here https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH |
Thanks, it worked for me |
Thanks, it worked for me as well |
@veksha thank you so much! this works for me as well. I think this should be considered the accepted answer. |
thanks you so much, it worked for me. |
I am currently using the theme below, which is the same as the initial OMZ standard, with only a few color changes.
It turns out that if I change the theme in the ~ / .zshrc file, to the Dracula theme, the auto suggestion stops working. Can someone help me? |
Perhaps a little late. You are running |
Running this command solved it for me: |
Ha. In case any of the other suggestions don't work for you, make sure you don't somehow end up with two plugin sections in your |
i using bash in git version 2.33.1.windows.1 anyone get error like this in terminal windows 10 , but "Git bash" is working config .zshrc
typing space or any key press , get this : [?1h← |
I enconter this problem in windows too, disabling async mode (add |
What worked for me was removing the spaces between the equal sign and the (git zsh-autosuggestions) It was like this: I removed the spaces: And I put the source line below the plugins line:
|
Worked |
A lifesaver. Thank you 👍 |
Awesome. Thanks! |
None of the above suggestions worked for me. So I had to in my .zshrc file:
|
This worked for me |
This solved the issue for me thanks! |
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions git clone https://github.com/zsh-users/zsh-syntax-highlighting ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting source .zshrc i solved. |
this worked for me, thanks |
I run |
hmm for me the issue was that instead of having plugins listed like this in probably some spacing issue happened |
For people that encounters this issue trying to achieve that on Linux + terminator :You just have to go to Preferences > Profile > Colors . In sub-menu Palette . Then, you must select Custom instead of Solarize Dark as a built-in themes. Finally, change the bottom left color to a lighter one. |
This fixed it for me as well..Thank you so much |
Thank you, this worked for me. |
Oh, damn! 😮💨 |
add |
I'm getting 'zsh-autosuggestions' not found and 'zsh-syntax-highlighting' not found even though they are working. I can only download the zip, I put it in .zsh folder, then added the plugins and at the end What can I improve? I can't git clone, the antigen also didn't work despite installing it with brew.
|
Please validate below points to fix
|
Thank you. It worked! |
All you need is to have only one line |
thank you, it helps me |
|
I followed the issue on macOS Sonoma like below:
It worked flawlessly! |
|
So I thought my autosuggestion was working, I had ran this command
source .oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
and it was working fine, but right after I closed the terminal and opened up again the auto suggestion quit working. Any help?The text was updated successfully, but these errors were encountered: