diff --git a/src/commandsAndMenu.tsx b/src/commandsAndMenu.tsx index 460766d1e..992a759ea 100644 --- a/src/commandsAndMenu.tsx +++ b/src/commandsAndMenu.tsx @@ -160,7 +160,11 @@ export function addCommands( terminal.session.send({ type: 'stdin', content: [ - `cd "${gitModel.pathRepository.split('"').join('\\"')}"\n` + `cd "${gitModel.pathRepository + .split('"') + .join('\\"') + .split('`') + .join('\\`')}"\n` ] }); }