Sync OpenBSD patchset 730:

Store the current working directory in the session, change the default-path
option to default to empty and make that mean that the stored session CWD is
used.
This commit is contained in:
Tiago Cunha
2010-07-02 02:49:19 +00:00
parent 13e7f060b1
commit 63e76b555d
7 changed files with 41 additions and 30 deletions

3
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.565 2010-07-02 02:43:01 tcunha Exp $ */
/* $Id: tmux.h,v 1.566 2010-07-02 02:49:19 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -925,6 +925,7 @@ TAILQ_HEAD(session_groups, session_group);
struct session {
char *name;
char *cwd;
struct timeval creation_time;
struct timeval activity_time;