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 b2bb622 commit 901bfb2Copy full SHA for 901bfb2
tests/fixtures/pluginsystem/plugins/tmuxp_test_plugin_bs/tmuxp_test_plugin_bs/plugin.py
@@ -1,3 +1,4 @@
1
+"""Tmux plugin that runs before_script, if it is declared in configuration."""
2
import typing as t
3
4
from tmuxp.plugin import TmuxpPlugin
@@ -7,8 +8,11 @@
7
8
9
10
class PluginBeforeScript(TmuxpPlugin):
11
+ """Tmuxp plugin that runs before_script."""
12
+
13
def __init__(self) -> None:
14
self.message: str = "[+] This is the Tmuxp Test Plugin"
15
16
def before_script(self, session: "Session") -> None:
17
+ """Run hook during before_script, if it is declared."""
18
session.rename_session("plugin_test_bs")
0 commit comments