inshellisense icon indicating copy to clipboard operation
inshellisense copied to clipboard

can not work in tmux and zellij

Open secretqsan opened this issue 1 year ago • 1 comments

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)

secretqsan avatar Nov 23 '24 02:11 secretqsan

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

bezbac avatar Apr 26 '25 15:04 bezbac