Add "new" and "edit" commands

This commit is contained in:
2012-04-22 12:40:36 +01:00
parent 5b73edcead
commit 85fbda7e27
7 changed files with 149 additions and 1 deletions

View File

@@ -12,6 +12,10 @@ Some useful tmuxifier commands are:
list List all session and window layouts.
list-sessions List session layouts.
list-windows List window layouts.
new-session Create new session layout and open it with \`$EDITOR\`.
new-window Create new window layout and open it with \`$EDITOR\`.
edit-session Edit specified session layout with \`$EDITOR\`.
edit-window Edit specified window layout with \`$EDITOR\`.
commands List all tmuxifier commands.
See 'tmuxifier help <command>' for information on a specific command."
@@ -19,7 +23,7 @@ See 'tmuxifier help <command>' for information on a specific command."
* )
command_path="$(command -v "tmuxifier-$1" || true)"
if [ -n "$command_path" ]; then
echo "Sorry, the \`$1' command isn't documented yet."
echo "Sorry, the '$1' command isn't documented yet."
echo
echo "You can view the command's source here:"
echo "$command_path"