On Sun, 8 Jan 2017 17:52:49 -0500 (EST)
"Dan D." <dandun...@gmail.com> wrote:

> Hello,
> 
> I create multiple windows in screenrc.  What I want to do is when
> going to a window it opens in a directory of my selection without
> first doing a "cd" to that directory.
> 
> For example I have a window named "mail" in screenrc, when I choose
> that window by its number "2", the working directory will be an the
> existing "mail" directory.
> 
> Hope that is clear, thanks.
> 
> XB
> 
> _______________________________________________
> screen-users mailing list
> screen-users@gnu.org
> https://lists.gnu.org/mailman/listinfo/screen-users

Hi,

what you want to use in your .screenrc is 'chdir' command, for example:

chdir /home/user/somemaildir
screen mail
chdir /home/user/musicdir
screen musicplayer

Cheers,
Amadeusz

_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to