mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
New command, if-shell (alias if). Executes the tmux command in the second
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.
This commit is contained in:
1
tmux.h
1
tmux.h
@ -1101,6 +1101,7 @@ extern const struct cmd_entry cmd_detach_client_entry;
|
||||
extern const struct cmd_entry cmd_down_pane_entry;
|
||||
extern const struct cmd_entry cmd_find_window_entry;
|
||||
extern const struct cmd_entry cmd_has_session_entry;
|
||||
extern const struct cmd_entry cmd_if_shell_entry;
|
||||
extern const struct cmd_entry cmd_kill_pane_entry;
|
||||
extern const struct cmd_entry cmd_kill_server_entry;
|
||||
extern const struct cmd_entry cmd_kill_session_entry;
|
||||
|
Reference in New Issue
Block a user