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 574c515 commit aa21fa6Copy full SHA for aa21fa6
src/tmuxp/workspace/freezer.py
@@ -98,15 +98,15 @@ def pane_has_same_path(window: "Window", pane: Pane) -> bool:
98
99
current_cmd = pane.pane_current_command
100
101
- def filter_interpretters_and_shells(current_cmd: t.Optional[str]) -> bool:
+ def filter_interpreters_and_shells(current_cmd: t.Optional[str]) -> bool:
102
return current_cmd is not None and (
103
current_cmd.startswith("-")
104
or any(
105
current_cmd.endswith(cmd) for cmd in ["python", "ruby", "node"]
106
)
107
108
109
- if filter_interpretters_and_shells(current_cmd=current_cmd):
+ if filter_interpreters_and_shells(current_cmd=current_cmd):
110
current_cmd = None
111
112
if current_cmd:
0 commit comments