On Wed, 2008-01-30 at 11:20 +0100, Christian Ebert wrote:
> * Sonia Hamilton on Monday, January 28, 2008 at 21:23:48 -0600
> > 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
> 
> chdir $HOME/enlace
> screen -t enlace

Thanks, that worked a treat!

Another question: if I have a whole lot of screens starting up
(0 thru 5, say), how do I get my .screenrc to automatically 
switch back to screen 3, rather than me having to do it
manually?

-- 
Sonia Hamilton
blog: http://SoniaHamilton.wordpress.com



_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to