diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-02 21:08:36 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-02 21:08:36 +0000 |
commit | a26f58c7c394f81c523da597f85f69d3fc8bc8ad (patch) | |
tree | 869e58ba4df84531d550002ccb2a856ed5db2577 /cmd.c | |
parent | f6b86402c7fd1f4af0e4d163f22e4b9f71b2e538 (diff) | |
download | rtmux-a26f58c7c394f81c523da597f85f69d3fc8bc8ad.tar.gz rtmux-a26f58c7c394f81c523da597f85f69d3fc8bc8ad.tar.bz2 rtmux-a26f58c7c394f81c523da597f85f69d3fc8bc8ad.zip |
Last bits of basic configuration file. By default in ~/.tmux.conf or specified with -f. Just a list of tmux commands executed when the server is started and before and any session/window is created.
Diffstat (limited to 'cmd.c')
-rw-r--r-- | cmd.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: cmd.c,v 1.35 2008-06-02 18:08:16 nicm Exp $ */ +/* $Id: cmd.c,v 1.36 2008-06-02 21:08:36 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -51,6 +51,7 @@ const struct cmd_entry *cmd_table[] = { &cmd_send_keys_entry, &cmd_send_prefix_entry, &cmd_set_option_entry, + &cmd_start_server_entry, &cmd_swap_window_entry, &cmd_switch_client_entry, &cmd_unbind_key_entry, @@ -128,7 +129,7 @@ ambiguous: return (NULL); usage: - usage(cause, "%s %s", entry->name, entry->usage); + xasprintf(cause, "usage: %s %s", entry->name, entry->usage); return (NULL); } |