Skip to content

Commit aa21fa6

Browse files
committed
chore: Fix typo in interpreters
1 parent 574c515 commit aa21fa6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tmuxp/workspace/freezer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,15 @@ def pane_has_same_path(window: "Window", pane: Pane) -> bool:
9898

9999
current_cmd = pane.pane_current_command
100100

101-
def filter_interpretters_and_shells(current_cmd: t.Optional[str]) -> bool:
101+
def filter_interpreters_and_shells(current_cmd: t.Optional[str]) -> bool:
102102
return current_cmd is not None and (
103103
current_cmd.startswith("-")
104104
or any(
105105
current_cmd.endswith(cmd) for cmd in ["python", "ruby", "node"]
106106
)
107107
)
108108

109-
if filter_interpretters_and_shells(current_cmd=current_cmd):
109+
if filter_interpreters_and_shells(current_cmd=current_cmd):
110110
current_cmd = None
111111

112112
if current_cmd:

0 commit comments

Comments
 (0)