inshellisense
inshellisense copied to clipboard
can not work in tmux and zellij
When using tmux and zellij(a software like tmux), inshellisense can't give suggestions.
Steps to reproduce the behavior: 1.run tmux 2.type commands and inshellisense can't give suggestions.
Expected behavior Inshellisense can give suggestions.
Environment
- OS: [Ubuntu 24.10]
- Output of
is --version: 0.0.1-rc.18 - Nodejs Version: v20.16.0
- Shell: bash
- Shell Version: 5.2.32(1)
I found this comment in the fig repo, which at least for me also seems to work with inshellisense: https://github.com/withfig/fig/issues/2199#issuecomment-1631111823
if [[ -n "${ZELLIJ}" ]]; then
export TMUX="true"
fi
[[ -f ~/.inshellisense/zsh/init.zsh ]] && source ~/.inshellisense/zsh/init.zsh
unset TMUX