We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea3168b commit 05f94a9Copy full SHA for 05f94a9
tests/fixtures/pluginsystem/plugins/tmuxp_test_plugin_r/tmuxp_test_plugin_r/plugin.py
@@ -1,3 +1,4 @@
1
+"""Tmuxp example plugin for reattaching session."""
2
import typing as t
3
4
from tmuxp.plugin import TmuxpPlugin
@@ -7,8 +8,11 @@
7
8
9
10
class PluginReattach(TmuxpPlugin):
11
+ """Tmuxp plugin to test renaming session on reattach."""
12
+
13
def __init__(self) -> None:
14
self.message: str = "[+] This is the Tmuxp Test Plugin"
15
16
def reattach(self, session: "Session") -> None:
17
+ """Apply hook that runs for tmux on session reattach."""
18
session.rename_session("plugin_test_r")
0 commit comments