My .zshrc has the following

 if [[ $STY = '' ]]; then
          screen -aADxR 

I have many Screen "tabs" open. I would like to stop Screen only in one Screen's tab such that I can run commands which I cannot run inside Screen.

I run unsuccessfully

screen -d

which closes one tab.

It may be easier to open a new tab apparently to get a tab without Screen. However, if I open a new tab (not-terminal-tab) in Screen, it opens it inside Screen because of the code in my .zshrc.

How can you close/open Screen in one tab such that other tabs are not closed in Screen?


You should be able to do Ctrl+A,D which will detach that one session.

That's an interesting trick with screen.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.