mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
Merge branch 'obsd-master'
This commit is contained in:
@ -1996,6 +1996,8 @@ server_client_get_cwd(struct client *c, struct session *s)
|
||||
{
|
||||
const char *home;
|
||||
|
||||
if (!cfg_finished && cfg_client != NULL)
|
||||
return (cfg_client->cwd);
|
||||
if (c != NULL && c->session == NULL && c->cwd != NULL)
|
||||
return (c->cwd);
|
||||
if (s != NULL && s->cwd != NULL)
|
||||
|
Reference in New Issue
Block a user