diff options
Diffstat (limited to 'Util/check-tmux-state')
-rwxr-xr-x | Util/check-tmux-state | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Util/check-tmux-state b/Util/check-tmux-state index d95e0c230..9772eefc1 100755 --- a/Util/check-tmux-state +++ b/Util/check-tmux-state @@ -59,7 +59,7 @@ __tmux-window-options # in the _tmux function definition file. typeset -a supported_commands supported_commands=( $( grep '^_tmux-[^(]*() *{$' $func | - sed -e 's,^.*\<_tmux-,,' -e 's,(.*$,,' ) ) + sed -e 's,^_tmux[-]\([a-z-]*\)[(].*,\1,' ) ) # Ask tmux for available commands: typeset -a available_commands |