Re: [PATCH 1/1] new-session: Allow start-directory via -c

2013-07-05 Thread Nicholas Marriott
I think it'd be better if $HOME, ~, . etc worked using c->cwd instead of s->cwd. Not sure if it'd be nicer to change arguments to cmd_get_default_path or add a new function... Although in the end this is just sugar to hide (cd /my/dir; tmux new). On Thu, Jul 04, 2013 at 09:42:22PM +0100, Thomas

[PATCH 1/1] new-session: Allow start-directory via -c

2013-07-04 Thread Thomas Adam
From: Thomas As with the neww command, this adds a -c option to specify the starting directory of the session. This means default-path '-' is honored correctly without the need to first cd to the directory and start the tmux session from there. I personally don't care either way for this patch,