Skip to content

Commit c14498b

Browse files
committed
docs(cli): Link shell command
1 parent abf7a32 commit c14498b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tmuxp/cli.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -858,10 +858,11 @@ def command_shell(
858858
"""Launch python shell for tmux server, session, window and pane.
859859
860860
Priority given to loaded session/wndow/pane objects:
861+
861862
- session_name and window_name arguments
862-
- current shell: environmental variable of TMUX_PANE (which gives us window and
863-
session)
864-
- ``server.attached_session``, ``session.attached_window``, ``window.attached_pane``
863+
- current shell: envvar ``TMUX_PANE`` for determing window and session
864+
- :attr:`libtmux.Server.attached_sessions`, :attr:`libtmux.Session.attached_window`,
865+
:attr:`libtmux.Window.attached_pane`
865866
"""
866867
server = Server(socket_name=socket_name, socket_path=socket_path)
867868

0 commit comments

Comments
 (0)