Re-organize and improve help command and help info for each command

This commit is contained in:
2013-06-02 20:09:59 +03:00
parent 5363ac555b
commit 55cf26b9e6
16 changed files with 170 additions and 94 deletions

View File

@@ -2,6 +2,16 @@
set -e
[ -n "$TMUXIFIER_DEBUG" ] && set -x
# Provide tmuxifier help
if [ "$1" == "--help" ]; then
echo "usage: tmuxifier edit-window <layout_name>
Aliases: edit-win, ew
Open specified window layout for editing in \$EDITOR."
exit
fi
# Provide tmuxifier completions
if [ "$1" == "--complete" ]; then
for item in $(tmuxifier-list-windows); do