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: davidcollins001
Subject: Re: how to cd in .screenrc?
Date: Wed, 30 Jan 2008 10:21:15 +0000

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




reply via email to

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