NAME
App::Devmode2 - A tmux session loading tool
VERSION
This documentation refers to App::Devmode2 version 0.9
SYNOPSIS
devmode2 [options] <session>
OPTIONS:
<session> A tmux session name to create or connect to
-l --layout[=]str
A layout to load if creating a new session
-s --save Save the current config to the session file
-c --cd[=]dir
Change to dir before running tmux
-C --curdir Saves the current director as the directory to change to
when next loaded. (implies --save)
-t --test Don't run any external command (eg tmux)
-v --verbose Show more verbose output
--man Show full help documentation
--help Show this
--version Show the version of devmode2
DESCRIPTION
devmode2
is a helper script for tmux to simplify the creation and management of sessions.
SUBROUTINES/METHODS
run ()
Manage the logic to load sessions etc.
set_title ()
Tries to set the terminal title to the session name (requires Term::Title to work).
sessions ()
Gets a list of current tmux sessions.
process_config ($session, $option)
Reads any config for $session
(from ~/.tmux/devmode2/$session) and optionally saves that config.
DIAGNOSTICS
CONFIGURATION AND ENVIRONMENT
Bash auto completion helper (add to your ~/.bashrc
file:
_devmode2() {
COMPREPLY=($(devmode2 --auto --current "${COMP_CWORD}" -- ${COMP_WORDS[@]}))
}
complete -F _devmode2 devmode2
DEPENDENCIES
INCOMPATIBILITIES
BUGS AND LIMITATIONS
There are no known bugs in this module.
Please report problems to Ivan Wills (ivan.wills@gmail.com).
Patches are welcome.
AUTHOR
Ivan Wills - (ivan.wills@gmail.com)
LICENSE AND COPYRIGHT
Copyright (c) 2014 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077). All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.