-
-
Notifications
You must be signed in to change notification settings - Fork 795
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
Failed integration with ZSH #582
Comments
I get the same error in Ubuntu with ZSH. Any ideas on this one? |
Not yet. Here I'm on arch. |
Can you have a look on what version you are using? My only guess is that #544 change isn't included, but otherwise I don't know. |
Alright you have the latest version so i did some investigation, to cross check if the issue is because of the latest fix not being included you could run: or if you have installed it without sudo (at least for me): if the printed code snippet shows "if shell == "/bin/zsh" instead of "if "zsh" in shell" you will need to uninstall sgpt with either I'm using pop_os without really any configuration so only sudo will have it on PATH. After that reinstall sgpt with: If this doesn't solve the problem, then i actually don't know what the issue is.. Hope it works :) |
To see which directory you actually have your sgpt in, you could run :
and in my case i have it in brew, so for me, as you can see above, i would print out the code with: But please try to unisntall and reinstall from github link pointing to latest commit on main branch. I think that will solve the problem. |
Arch.. Well you can either create an environemnt and always have that activated, wait for the next release tag, or add a flag to you pip installation. install the package for your user only, bypassing the system-wide restrictions.
override the system package management and install the package directly
|
Try changing the line to: |
Thanks for your help. |
Hey I tried to find a solution but not worked out. I'm trying to configure it shell integration.
The text was updated successfully, but these errors were encountered: