Minor tweaks and updates to a few help messages

This commit is contained in:
2014-05-14 00:08:09 +01:00
parent 7df4a33a7d
commit 3a74ff3a60
3 changed files with 13 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ Some useful tmuxifier commands are:
new-window nw Create new window layout and open it with \$EDITOR. new-window nw Create new window layout and open it with \$EDITOR.
edit-session es Edit specified session layout with \$EDITOR. edit-session es Edit specified session layout with \$EDITOR.
edit-window ew Edit specified window 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. version Print Tmuxifier version.
help Show this message. help Show this message.

View File

@@ -2,4 +2,13 @@
set -e set -e
[ -n "$TMUXIFIER_DEBUG" ] && set -x [ -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 "$@" tmux $TMUXIFIER_TMUX_OPTS "$@"

View File

@@ -9,10 +9,9 @@ source "$TMUXIFIER/lib/util.sh"
if calling-help "$@"; then if calling-help "$@"; then
echo "usage: tmuxifier tmux-version [target-version] echo "usage: tmuxifier tmux-version [target-version]
Outputs current Tmux version. If given optional target-version it uses the Outputs current Tmux version. If given optional target-version it outputs one
compare-versions command to output one of three possible characters indicating of three possible characters indicating if the current Tmux version number is
if the current Tmux version is equal to, less, or higher version than the equal to, less than, or greater than the [target-version].
the [target-version].
The three possible outputs are \"=\", \"<\", and \">\"." The three possible outputs are \"=\", \"<\", and \">\"."
exit exit