version 1.1, 2009/06/01 22:58:49 |
version 1.2, 2009/07/07 19:49:19 |
|
|
|
|
cmd = data->cmd; |
cmd = data->cmd; |
if (cmd == NULL) |
if (cmd == NULL) |
cmd = options_get_string(&global_options, "default-command"); |
cmd = options_get_string(&global_s_options, "default-command"); |
if (c == NULL || c->cwd == NULL) |
if (c == NULL || c->cwd == NULL) |
cwd = options_get_string(&global_options, "default-path"); |
cwd = options_get_string(&global_s_options, "default-path"); |
else |
else |
cwd = c->cwd; |
cwd = c->cwd; |
|
|
|
|
sy = c->tty.sy; |
sy = c->tty.sy; |
} |
} |
|
|
if (options_get_number(&global_options, "status")) { |
if (options_get_number(&global_s_options, "status")) { |
if (sy == 0) |
if (sy == 0) |
sy = 1; |
sy = 1; |
else |
else |