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.

This commit is contained in:
Nicholas Marriott
2008-06-02 21:08:36 +00:00
parent f6b86402c7
commit a26f58c7c3
27 changed files with 175 additions and 129 deletions

5
cmd.c
View File

@ -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);
}