screen-users
[Top][All Lists]
Advanced

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

Re: How to have each window in a different directory


From: Amadeusz Sławiński
Subject: Re: How to have each window in a different directory
Date: Mon, 9 Jan 2017 00:26:52 +0100

On Sun, 8 Jan 2017 17:52:49 -0500 (EST)
"Dan D." <address@hidden> 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
> address@hidden
> 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



reply via email to

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