diff --git a/libexec/tmuxifier-help b/libexec/tmuxifier-help index 7dca016..5c27f1b 100755 --- a/libexec/tmuxifier-help +++ b/libexec/tmuxifier-help @@ -35,7 +35,7 @@ Some useful tmuxifier commands are: new-window nw Create new window layout and open it with \$EDITOR. edit-session es Edit specified session layout with \$EDITOR. edit-window ew Edit specified window layout with \$EDITOR. - commands List all tmuxifier commands. + commands List all tmuxifier commands (including internal). version Print Tmuxifier version. help Show this message. diff --git a/libexec/tmuxifier-tmux b/libexec/tmuxifier-tmux index 96328a6..f1a8d45 100755 --- a/libexec/tmuxifier-tmux +++ b/libexec/tmuxifier-tmux @@ -2,4 +2,13 @@ set -e [ -n "$TMUXIFIER_DEBUG" ] && set -x +# Provide tmuxifier help +if calling-help "$@"; then + echo "usage: tmuxifier tmux [...] + +Wrapper command for Tmux executable allowing Tmuxifier to pass in any custom +arguments specified in the TMUXIFIER_TMUX_OPTS environment variable." + exit +fi + tmux $TMUXIFIER_TMUX_OPTS "$@" diff --git a/libexec/tmuxifier-tmux-version b/libexec/tmuxifier-tmux-version index a87db92..81e76ab 100755 --- a/libexec/tmuxifier-tmux-version +++ b/libexec/tmuxifier-tmux-version @@ -9,10 +9,9 @@ source "$TMUXIFIER/lib/util.sh" if calling-help "$@"; then echo "usage: tmuxifier tmux-version [target-version] -Outputs current Tmux version. If given optional target-version it uses the -compare-versions command to output one of three possible characters indicating -if the current Tmux version is equal to, less, or higher version than the -the [target-version]. +Outputs current Tmux version. If given optional target-version it outputs one +of three possible characters indicating if the current Tmux version number is +equal to, less than, or greater than the [target-version]. The three possible outputs are \"=\", \"<\", and \">\"." exit