tmuxp shell - tmuxp.cli.shell
¶
CLI for tmuxp shell
subcommand.
- class tmuxp.cli.shell.CLIShellNamespace(**kwargs)[source]¶
Bases:
Namespace
Typed
argparse.Namespace
for tmuxp shell command.
- tmuxp.cli.shell.create_shell_subparser(parser)[source]¶
Augment
argparse.ArgumentParser
withshell
subcommand.- Return type:
- tmuxp.cli.shell.command_shell(args, parser=None)[source]¶
Entrypoint for
tmuxp shell
for tmux server, session, window and pane.Priority given to loaded session/window/pane objects: :rtype:
None
session_name and window_name arguments
current shell: envvar
TMUX_PANE
for determining window and sessionlibtmux.Server.attached_sessions
,libtmux.Session.active_window
,libtmux.Window.active_pane