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:
Nicholas Marriott
2010-06-27 02:56:59 +00:00
parent 26524c99f6
commit 07a71fd432
7 changed files with 34 additions and 23 deletions

1
tmux.h
View File

@ -926,6 +926,7 @@ TAILQ_HEAD(session_groups, session_group);
struct session {
char *name;
char *cwd;
struct timeval creation_time;
struct timeval activity_time;