0
votes
0answers
23 views

Zsh script cannot find screens

I have created a zsh script launching many screens in detached mode with particular names and running particular processes in them in order to automate some data analysis in high energy physics. ...
0
votes
0answers
33 views

Bash script for opening screens and compiling the same file

I have written a bash script to initiate separate screen sessions and run a command in each of them that compiles the same C++ source file in ROOT (an object-oriented data analysis framework ...
2
votes
0answers
81 views

How to write a shell script to run multiple command in different screen sessions?

My goal is to write a zsh script in order to create multiple screen sessions and run separate commands on each of them. I would also like to check at the beginning of my script if there are any ...
1
vote
2answers
137 views

Screen: Current directory in caption bar (not as title)

How can I show the current directory of the currently active session in a screen status bar (not as title of the session!)? I have tried with various combinations n,m={0,1} of backtick 102 n m pwd ...
2
votes
2answers
377 views

Screen: “Cannot exec /my/path/to/zsh” with local shell

Whenever I try to run screen under a Zsh shell that I compiled under my home directory, I get the following error: > screen Cannot exec '/my/path/to/zsh/bin/zsh' The Z shell is perfectly ...
2
votes
1answer
166 views

How do i get screen to execute/load .zprofile when starting a new window?

How do i get screen to execute/load .zprofile when starting a new window?
5
votes
2answers
3k views

Screen status bar to display current directory for zsh/bash shell

I use GNU screen a lot with zsh as my shell. It would be a nice feature (I think) to be able to display the current directory name (not the full path) as the tab title. I can do that with CTRL+A ...
7
votes
2answers
2k views

Force title on GNU screen

By default, the title of a screen session is the name of the last command entered, which is fine for me, but in some cases I'd like to change it. I know the command Ctrl-A A, but it only changes the ...