screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to cd in .screenrc?


From: Sonia Hamilton
Subject: Re: how to cd in .screenrc?
Date: Thu, 31 Jan 2008 12:14:34 -0600

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]