How to tell if a terminal session is in vtm?
Fan-iX opened this issue · comments
Fan-iX commented
I used to check whether $VTM_CONFIG is empty to see if the session is in vtm. (An non-empty $VTM_CONFIG does not ensure a non-vtm session though)
Since $VTM_CONFIG is removed from v0.9.19, I'm no longer able to check that.
Maybe we can have something like $VTM (like $TMUX in tmux), or $VTM_LEVEL (like $SHLVL) if possible?
Dmitry Sapozhnikov commented
I agree, setting the $VTM variable is the right thing to do.
Dmitry Sapozhnikov commented
I closed everything automatically again without waiting for confirmation from you. Ask me if something doesn't work 🙏🙏🙏.