-
Notifications
You must be signed in to change notification settings - Fork 187
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
Does not work with starship prompt #262
Comments
Do you think it is related to the right prompt? How about the behavior without the right prompt? |
Then, I think inshellisense is confused by the existence of the right prompt. I searched in the repository for "right prompt", but nothing seems to be mentioned, so I think inshellisense doesn't just support shell settings with right prompts for now. |
I added this original to handle right prompts, which I'd expect to get triggered here. I think there are outstanding issues with zsh that might be contributing this as well (outside of the right prompt issue the bash users are experiencing) inshellisense/src/isterm/commandManager.ts Line 242 in 1a309c8
|
@superdinmc how did you get it to play nicely with blesh? blesh seems to override it's bindings and just do up/down command history even when the inshellisense popup is open. |
@TuomasAutio, I can't replicate this currently with # ---------------- inshellisense shell plugin ----------------
if [[ -z "${ISTERM}" && $- = *i* && $- != *c* ]]; then
if [[ -o login ]]; then
is -s zsh --login ; exit
else
is -s zsh ; exit
fi
fi
# ---------------- startship plugin ----------------
eval "$(starship init zsh)" Can you send your |
Same for you @superdinmc, I'll try to reproduce with |
It's been months since I tried to use inshellisense on blesh but I will follow-up with the .bashrc ASAP. There's also starship configuration, I will also have it here. |
Sorry for the long silence on the issues, I haven't been able to work on it for a while. The project should get more attention moving forward |
GitHub wouldn't let me upload the files and I lost access to my main domain so I'm using Tixte subdomain temporarily(and cloudflare went down when I tried to set it up with the new domain...). |
You can just drop them into some code blocks like below, my network won't let me download the files. # .bashrc
export PS1='>' |
Describe the bug
When using the inshellisense plugin in conjunction with the Starship prompt in a Zsh shell, the inshellisense plugin fails to work as expected. Specifically, it does not give suggestions when starship is active
To Reproduce
Steps to reproduce the behavior:
.zshrc
file..zshrc
file.Expected behavior
Drop down auto suggestions
Environment
0.0.1-rc.15
v22.0.0
zsh
5.9
Additional context
Probably conflicts with the hooks used by the Starship prompt (e.g., precmd and preexec)
The text was updated successfully, but these errors were encountered: