diff --git a/src/commandsAndMenu.tsx b/src/commandsAndMenu.tsx index f1bdfda1e..ff963362a 100644 --- a/src/commandsAndMenu.tsx +++ b/src/commandsAndMenu.tsx @@ -151,7 +151,9 @@ export function addCommands( main.dispose(); } }, - isEnabled: () => gitModel.pathRepository !== null + isEnabled: () => + gitModel.pathRepository !== null && + app.serviceManager.terminals.isAvailable() }); /** Add open/go to git interface command */