-
Notifications
You must be signed in to change notification settings - Fork 213
Description
Describe the bug
While entering the first command, the window with suggestion appears. Once I pick any subcommand/flag, it turns off and does not work for the next input.
To Reproduce
Steps to reproduce the behavior:
Install oh-my-zsh and latest inshellisense
Write the part of the first command, the window with suggestion appears, select any of these, press enter to call it.
Write another command, this time the window does not appear anymore.
Expected behavior
Inshellisense should support all commands when the session is live.
Environment
OS: MacOS 26
Output of is --version: 0.0.1-rc.21
Nodejs Version: v22.19.0
Shell: zsh + oh-my-zsh + powerlevel10k
Shell Version: zsh 5.9 (arm64-apple-darwin25.0)
Additional context
This issue has been reported before on #201 and claimed to be fixed, however me and some others reported the issue again, so I wanted to re-open it. The issue #201 also shares a YouTube video.
Already tried removing instant prompt config from powerlevel10k.
.zshrc config:
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
# if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
# source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
# fi
export ZSH=$HOME/.oh-my-zsh
export NVM_DIR="$HOME/.nvm"
# . "$HOME/.atuin/bin/env"
ZSH_THEME="powerlevel10k/powerlevel10k"
plugins=(
zsh-autosuggestions
zsh-syntax-highlighting
zsh-autopair
)
# eval "$(atuin init zsh)"
eval "$(zoxide init zsh)"
source $ZSH/oh-my-zsh.sh
source <(fzf --zsh)
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
alias ls=lsd
# Enable inshellisense
[[ -f ~/.inshellisense/zsh/init.zsh ]] && source ~/.inshellisense/zsh/init.zsh