one thing i've noticed when using custom screenrcs and they chdir is
that i have to give -c the *full path* to the screenrc i want.
otherwise, when i detach and later try to reattach, i get an error
saying "relative/path/to/rc not found" and screen dies.
On Jan 30, 2008, at 2:21 AM, [EMAIL PROTECTED] wrote:
try in .screenrc
chdir ~/enlace
screen -t enlace
chdir 'other/dir'
screen -t other_dir
You can also put this into a separate file and source it from the main
.screenrc using
source 'alternate.screenrc
On 29/01/2008, Sonia Hamilton <[EMAIL PROTECTED]> wrote:
I have different .screenrc's for different development environments
(which I start up using screen -c .screenrc_foo). For each terminal I
create in .screenrc, how do I change directories, so each terminal
starts in the directory I specify?
I've tried lines like this, but I'm getting errors:
screen -t "enlace" cd ~/enlace
screen -t "enlace2" cdenlace.sh
(where cdenlace.sh is in my path, and contains the command "cd
~/enlace").
--
Sonia Hamilton
blog: http://SoniaHamilton.wordpress.com
_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users
_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users
_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users