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 > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users > _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users