Skip to content

Commit f2c4700

Browse files
committed
[vscode_projects:1.5] Update to interface version 2.4
1 parent 814b7bf commit f2c4700

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

vscode_projects/__init__.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from albert import *
1010

1111
md_iid = "2.3"
12-
md_version = "1.4"
12+
md_version = "1.5"
1313
md_name = "VSCode projects"
1414
md_description = "Open VSCode projects"
1515
md_url = "https://github.com/albertlauncher/python/tree/master/vscode_projects"
@@ -340,11 +340,7 @@ def _createItem(self, project: Project, query: Query) -> StandardItem:
340340
Action(
341341
id="open-terminal",
342342
text=f"Run terminal command in project's workdir: {self.terminalCommand}",
343-
callable=lambda: runTerminal(
344-
close_on_exit=True,
345-
script=self.terminalCommand,
346-
workdir=project.path,
347-
)
343+
callable=lambda: runTerminal(f"cd {project.path} && {self.terminalCommand}")
348344
)
349345
)
350346

0 commit comments

Comments
 (0)