aboutsummaryrefslogtreecommitdiff
path: root/cmd-if-shell.c
Commit message (Collapse)AuthorAge
* Having fixed flags for single-character getopt options is a bit hard toNicholas Marriott2009-07-14
| | | | | | | | | | maintain and is only going to get worse as more are used. So instead, add a new uint64_t member to cmd_entry which is a bitmask of upper and lowercase options accepted by the command. This means new single character options can be used without the need to add it explicitly to the list.
* Fix $Id$.Nicholas Marriott2009-07-09
|
* New command, if-shell (alias if). Executes the tmux command in the secondNicholas Marriott2009-07-09
argument if the shell command in the first succeeds, for example: if "[ -e ~/.tmux.conf.alt ]" "source .tmux.conf.alt" Written by Tiago Cunha, many thanks.