Return to cmd-new-window.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.33, 2013/10/10 12:00:21 | version 1.34, 2013/10/10 12:07:36 | ||
---|---|---|---|
|
|
||
cmd = options_get_string(&s->options, "default-command"); | cmd = options_get_string(&s->options, "default-command"); | ||
else | else | ||
cmd = args->argv[0]; | cmd = args->argv[0]; | ||
cwd = cmd_get_default_path(cmdq, args_get(args, 'c')); | cwd = cmdq_default_path(cmdq, args_get(args, 'c')); | ||
if (idx == -1) | if (idx == -1) | ||
idx = -1 - options_get_number(&s->options, "base-index"); | idx = -1 - options_get_number(&s->options, "base-index"); |