Add exec and exec_always commands

This commit is contained in:
emersion 2017-12-04 22:43:49 +01:00
parent 9fbcdc79b6
commit 514c819ff9
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 105 additions and 0 deletions

View file

@ -90,6 +90,8 @@ struct cmd_results *add_color(const char *name, char *buffer, const char *color)
/* Keep alphabetized */
static struct cmd_handler handlers[] = {
{ "exec", cmd_exec },
{ "exec_always", cmd_exec_always },
{ "exit", cmd_exit },
};