Complete guide to resolving terminal integration issues in Sixth
This guide helps you resolve terminal integration issues in Sixth. Terminal integration is crucial for Sixth to execute commands and read their output, enabling it to understand errors, test results, and command responses.
If you’re experiencing terminal issues, try switching to a simpler shell like bash in the Sixth settings, under “Terminal Settings”This resolves most terminal integration problems.
Commas missing from output (JSON appears corrupted)
Special characters stripped from terminal output
Syntax errors that don’t appear when running manually
Solution:
This is a known bug in output processing. Workarounds:
Recommend AI to use file output instead
Tell Sixth in chat or Sixth rules, to use command > output.txt before reading the file/s
This family of issues is only partially solved in the latest Sixth versions, so if you still face this, create a GitHub issue
if it is a persistent problem.
If you’re using Windows and still experiencing issues with shell integration after trying the previous steps, it’s recommended you use Git Bash (or PowerShell).
PowerShell uses execution policies to determine which scripts can run on your system. Here are the most common policies:
Restricted: No PowerShell scripts can run. This is the default setting.
AllSigned: All scripts, including local ones, must be signed by a trusted publisher.
RemoteSigned: Scripts created locally can run, but scripts downloaded from the internet must be signed.
Unrestricted: No restrictions. Any script can run, though you will be warned before running internet-downloaded scripts.
For development work in VSCode, the RemoteSigned policy is generally recommended. It allows locally created scripts to run without restrictions while maintaining security for downloaded scripts. To learn more about PowerShell execution policies and understand the security implications of changing them, visit Microsoft’s documentation: About Execution Policies.
Open PowerShell as an Administrator: Press Win + X and select “Windows PowerShell (Administrator)” or “Windows Terminal (Administrator)”.
Check Current Execution Policy by running this command:
Get-ExecutionPolicy
If the output is already RemoteSigned, Unrestricted, or Bypass, you likely don’t need to change your execution policy. These policies should allow shell integration to work.
If the output is Restricted or AllSigned, you may need to change your policy to enable shell integration.
Change the Execution Policy by running the following command:
# Add to ~/.config/fish/config.fishset -x TERM xterm-256colorset -x PAGER cat# Disable fancy features in VSCodeif test "$TERM_PROGRAM" = "vscode" function fish_prompt echo (whoami)'@'(hostname)':'(pwd)'> ' endend
When shell integration fails, Sixth can’t reuse terminals safely (they might be running long processes). Enable shell integration or adjust the terminal reuse setting.
Working integration shows command output in Sixth’s chat. Failed integration shows “Shell Integration Unavailable” or “[Command is running but producing no output]”.
Remember: Most terminal issues are resolved by switching to bash and increasing the timeout. Start there before trying complex
solutions.
⌘I
{"docsConfig":{"theme":"linden","$schema":"https://mintlify.com/docs.json","name":"Sixth","description":"Sixth: the AI coding agent for VS Code, with Design Studio, background agents, skills and integrations","colors":{"primary":"#9D4EDD","light":"#F0E6FF","dark":"#000000"},"logo":{"light":"https://mintcdn.com/sixhqinc-14aa4ccb/E0JgHngWHSe291sy/assets/waves_light.png?fit=max\u0026auto=format\u0026n=E0JgHngWHSe291sy\u0026q=85\u0026s=d5d02db20ddba98d8e5f53e0b5967ac4","dark":"https://mintcdn.com/sixhqinc-14aa4ccb/E0JgHngWHSe291sy/assets/waves_dark.png?fit=max\u0026auto=format\u0026n=E0JgHngWHSe291sy\u0026q=85\u0026s=44ea99cb5fdc873f2cd60f586fa03d31"},"favicon":{"light":"https://mintcdn.com/sixhqinc-14aa4ccb/E0JgHngWHSe291sy/assets/waves_light.png?fit=max\u0026auto=format\u0026n=E0JgHngWHSe291sy\u0026q=85\u0026s=d5d02db20ddba98d8e5f53e0b5967ac4","dark":"https://mintcdn.com/sixhqinc-14aa4ccb/E0JgHngWHSe291sy/assets/waves_dark.png?fit=max\u0026auto=format\u0026n=E0JgHngWHSe291sy\u0026q=85\u0026s=44ea99cb5fdc873f2cd60f586fa03d31"},"appearance":{"default":"system","strict":false},"background":{"decoration":"gradient","color":{"light":"#F0E6FF","dark":"#000000"}},"navbar":{"links":[{"href":"https://github.com/SixHq/GPT4-AI-Realtime-code-scanner-Autocomplete-and-Highlighter-for-Javascript-Py-JS-Java-Php-Sixth-SAST","label":"GitHub"},{"href":"https://discord.gg/5UAhbwTpu3","label":"Discord"}],"primary":{"type":"button","label":"Install Sixth","href":"https://marketplace.visualstudio.com/items?itemName=Sixth.sixth-ai"}},"footer":{"socials":{"x":"https://x.com/sixth_hq","github":"https://github.com/SixHq/GPT4-AI-Realtime-code-scanner-Autocomplete-and-Highlighter-for-Javascript-Py-JS-Java-Php-Sixth-SAST","discord":"https://discord.gg/5UAhbwTpu3"}},"search":{"prompt":"Search Sixth documentation..."},"fonts":{"family":"Roboto","weight":400},"styling":{"eyebrows":"breadcrumbs","codeblocks":"system","latex":true},"contextual":{"options":["copy"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sixhqinc-14aa4ccb","hasAudioNarration":false,"actualSubdomain":"sixhqinc-14aa4ccb","customDomains":["docs.trysixth.com"],"gitSource":{"type":"github","owner":"sixhq","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"collectionId":"d4428127-f33a-4da9-8db9-4be6deac287a","liveDeploymentHistoryId":"6ac631e96e6d52ea8052b86a","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ac631e96e6d52ea8052b86a"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ac631e96e6d52ea8052b86a","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"default","tag":"Features","count":27},{"language":"default","tag":"Provider Configuration","count":17},{"language":"default","tag":"Sixth Features","count":13},{"language":"default","tag":"Slash Commands","count":9},{"language":"default","tag":"Getting Started","count":8},{"language":"default","tag":"@ Mentions","count":7},{"language":"default","tag":"MCP Servers","count":7},{"language":"default","tag":"Commands \u0026 Shortcuts","count":5},{"language":"default","tag":"Enterprise Solutions","count":4},{"language":"default","tag":"Exploring Sixth's Tools","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"troubleshooting/terminal-integration-guide","slug":"/troubleshooting/terminal-integration-guide","pageMetadata":{"title":"Terminal Integration Troubleshooting Guide","sidebarTitle":"Terminal Troubleshooting","description":"Complete guide to resolving terminal integration issues in Sixth","href":"/troubleshooting/terminal-integration-guide"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Complete guide to resolving terminal integration issues in Sixth\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Mermaid,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Mermaid)_missingMdxReference(`Mermaid`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`This guide helps you resolve terminal integration issues in Sixth. Terminal integration is crucial for Sixth to execute commands and read their output, enabling it to understand errors, test results, and command responses.`}),`\n`,_jsxs(Tip,{children:[_jsxs(_components.p,{children:[`If you’re experiencing terminal issues, try switching to a simpler shell like `,_jsx(_components.code,{children:`bash`}),` in the Sixth settings, under “Terminal Settings”`]}),_jsx(_components.p,{children:`This resolves most terminal integration problems.`})]}),`\n`,_jsx(Heading,{level:`2`,id:`quick-diagnosis-flowchart`,children:`Quick Diagnosis Flowchart`}),`\n`,_jsx(_components.p,{children:`Follow this flowchart to quickly identify your issue:`}),`\n`,_jsx(Mermaid,{chart:`graph TD\n A[Terminal Issue] --> B{Can Sixth execute commands?}\n B -->|No| C[Shell Integration Unavailable]\n B -->|Yes| D{Can Sixth see the output?}\n D -->|No| E[Output Capture Failed]\n D -->|Yes| F{Is the output corrupted?}\n F -->|Yes| G[Character Filtering Issue]\n F -->|No| H{Does the command hang?}\n H -->|Yes| I[Long-Running Command Issue]\n H -->|No| J[Check Terminal Settings]\n\n C --> K[Try Solution 1]\n E --> L[Try Solution 2]\n G --> M[Try Solution 3]\n I --> N[Try Solution 4]\n\n style A fill:#f9f,stroke:#333,stroke-width:2px\n style K fill:#9f9,stroke:#333,stroke-width:2px\n style L fill:#9f9,stroke:#333,stroke-width:2px\n style M fill:#9f9,stroke:#333,stroke-width:2px\n style N fill:#9f9,stroke:#333,stroke-width:2px`}),`\n`,_jsx(Heading,{level:`2`,id:`common-issues-\u0026-quick-solutions`,children:`Common Issues \u0026 Quick Solutions`}),`\n`,_jsx(Heading,{level:`3`,id:`1-shell-integration-unavailable`,children:`1. Shell Integration Unavailable`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Symptoms:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Message: “Shell Integration Unavailable”`}),`\n`,_jsx(_components.li,{children:`Commands execute but Sixth can’t read output`}),`\n`,_jsx(_components.li,{children:`Terminal works fine manually but not with Sixth`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Quick Solutions:`})}),`\n`,_jsx(Heading,{level:`4`,id:`macos`,children:`macOS`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Switch to bash`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Go to Sixth Settings`}),`\n`,_jsxs(_components.li,{children:[`Left-Click the `,_jsx(_components.strong,{children:`“Terminal Settings”`}),` tab`]}),`\n`,_jsxs(_components.li,{children:[`Navigate to `,_jsx(_components.strong,{children:`“Default Terminal Profile”`}),` and select `,_jsx(_components.strong,{children:`“bash”`}),` from the drop-down menu`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Disable Oh-My-Zsh temporarily`}),`:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`If using zsh, enter `,_jsx(_components.code,{children:`mv ~/.zshrc ~/.zshrc.backup`}),` into the terminal`]}),`\n`,_jsx(_components.li,{children:`Restart VSCode`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Set environment`}),`:\n1.a For Zsh users, use one of the following Zsh commands to edit your shell profile:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`nano ~/.zshrc`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`vim ~/.zshrc`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`code ~/.zshrc`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`1.b For Bash users`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`nano ~/.bash_profile`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsxs(_components.li,{children:[`Add the following to your shell config: `,_jsx(_components.code,{children:`export TERM=xterm-256color`})]}),`\n`,_jsx(_components.li,{children:`Save your configuration`}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`windows`,children:`Windows`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Use PowerShell 7`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Install from Microsoft Store`}),`\n`,_jsx(_components.li,{children:`Go to Sixth Settings`}),`\n`,_jsxs(_components.li,{children:[`Left-Click the `,_jsx(_components.strong,{children:`“Terminal Settings”`}),` tab`]}),`\n`,_jsxs(_components.li,{children:[`Navigate to `,_jsx(_components.strong,{children:`“Default Terminal Profile”`}),` and select `,_jsx(_components.strong,{children:`“PowerShell 7”`}),` from the drop-down menu`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Disable Windows ConPTY`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Navigate to your VSCode Settings`}),`\n`,_jsx(_components.li,{children:`Enter “Integrated: Windows Enable Conpty” into the Settings searchbar`}),`\n`,_jsx(_components.li,{children:`Uncheck the option`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Try Command Prompt`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Go to Sixth Settings`}),`\n`,_jsxs(_components.li,{children:[`Left-Click the `,_jsx(_components.strong,{children:`“Terminal Settings”`}),` tab`]}),`\n`,_jsxs(_components.li,{children:[`Navigate to `,_jsx(_components.strong,{children:`“Default Terminal Profile”`}),` and select `,_jsx(_components.strong,{children:`“Command Prompt”`}),` from the drop-down menu`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`linux`,children:`Linux`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Use bash`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Go to Sixth Settings`}),`\n`,_jsxs(_components.li,{children:[`Left-Click the `,_jsx(_components.strong,{children:`“Terminal Settings”`}),` tab`]}),`\n`,_jsxs(_components.li,{children:[`Navigate to `,_jsx(_components.strong,{children:`“Default Terminal Profile”`}),` and select `,_jsx(_components.strong,{children:`“bash”`}),` from the drop-down menu`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Check permissions`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Ensure VSCode has terminal access permissions`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Disable custom prompts`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Comment out prompt customizations in `,_jsx(_components.code,{children:`.bashrc`})]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`2-command-output-not-visible`,children:`2. Command Output Not Visible`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Symptoms:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Sixth states in chat: “[Command is running but producing no output]”`}),`\n`,_jsx(_components.li,{children:`Commands complete but Sixth doesn’t see results`}),`\n`,_jsx(_components.li,{children:`Commands work sometimes but not consistently`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Solutions:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Increase Shell Integration Timeout`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Within Sixth, left-click the `,_jsx(_components.strong,{children:`Settings`}),` button in the top right-hand corner of the chat window`]}),`\n`,_jsxs(_components.li,{children:[`Once in the `,_jsx(_components.strong,{children:`Settings`}),` window, left-click the `,_jsx(_components.strong,{children:`“Terminal Settings”`}),` tab from the left-hand column`]}),`\n`,_jsxs(_components.li,{children:[`Navigate to “Shell integration timeout (seconds)” and enter `,_jsx(_components.strong,{children:`“10”`}),` into the text field`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Disable Terminal Reuse`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Within Sixth, left-click the `,_jsx(_components.strong,{children:`Settings`}),` button in the top right-hand corner of the chat window`]}),`\n`,_jsxs(_components.li,{children:[`Once in the `,_jsx(_components.strong,{children:`Settings`}),` window, left-click the `,_jsx(_components.strong,{children:`“Terminal Settings”`}),` tab from the left-hand column`]}),`\n`,_jsxs(_components.li,{children:[`Look for `,_jsx(_components.strong,{children:`“Enable aggressive terminal reuse”`}),`, and `,_jsx(_components.strong,{children:`uncheck`}),` this option`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Check for interfering extensions`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Disable other terminal-related VSCode extensions`}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`3-character-filtering-issues`,children:`3. Character Filtering Issues`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Symptoms:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Commas missing from output (JSON appears corrupted)`}),`\n`,_jsx(_components.li,{children:`Special characters stripped from terminal output`}),`\n`,_jsx(_components.li,{children:`Syntax errors that don’t appear when running manually`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solution:`}),`\nThis is a known bug in output processing. Workarounds:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Recommend AI to use file output instead`,`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Tell Sixth in chat or Sixth rules, to use `,_jsx(_components.code,{children:`command > output.txt`}),` before reading the file/s`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`This family of issues is only partially solved in the latest Sixth versions, so if you still face this, create a GitHub issue\nif it is a persistent problem.`})}),`\n`,_jsx(Heading,{level:`3`,id:`4-long-running-commands-\u0026-progress-bars`,children:`4. Long-Running Commands \u0026 Progress Bars`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Symptoms:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Docker builds never complete in Sixth`}),`\n`,_jsx(_components.li,{children:`Progress bars consume thousands of tokens`}),`\n`,_jsx(_components.li,{children:`The Sixth button “Proceed while running” doesn’t work properly in chat`}),`\n`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`This family of issues has been solved in latest Sixth versions but if you still face any issues, then create a GitHub issue\nfor this.`})}),`\n`,_jsx(Heading,{level:`2`,id:`terminal-settings-explained`,children:`Terminal Settings Explained`}),`\n`,_jsx(_components.p,{children:`Access these in Sixth by clicking the settings icon, and navigating to the “Terminal Settings” section:`}),`\n`,_jsx(Heading,{level:`3`,id:`default-terminal-profile`,children:`Default Terminal Profile`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`What it does`}),`: Selects which shell Sixth uses for commands`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`When to change`}),`: If experiencing shell integration issues with your default shell`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Recommended`}),`: - macOS: bash (if zsh has issues) - Windows: PowerShell 7 - Linux: bash`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`shell-integration-timeout`,children:`Shell Integration Timeout`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`What it does`}),`: How long Sixth waits for the terminal to be ready`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Default`}),`: 4 seconds`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`When to increase`}),`:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Slow shell startup (heavy .zshrc/.bashrc)`}),`\n`,_jsx(_components.li,{children:`WSL environments`}),`\n`,_jsx(_components.li,{children:`SSH connections`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Recommended`}),`: - Start with 10 seconds if having issues`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`enable-aggressive-terminal-reuse`,children:`Enable Aggressive Terminal Reuse`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`What it does`}),`: Reuses existing terminals even if not in the correct directory`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`When to disable`}),`:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Commands execute in wrong directory`}),`\n`,_jsx(_components.li,{children:`Virtual environment issues`}),`\n`,_jsx(_components.li,{children:`Terminal state corruption`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Trade-off`}),`: - Disabling creates more terminals but ensures clean state`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`terminal-output-line-limit`,children:`Terminal Output Line Limit`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`What it does`}),`: Limits how many lines Sixth reads from terminal output`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Default`}),`: 500 lines`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`When to adjust`}),`:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Increase for verbose build outputs`}),`\n`,_jsx(_components.li,{children:`Decrease if hitting token limits`}),`\n`,_jsx(_components.li,{children:`Set to 100 for commands with progress bars`}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`platform-specific-solutions`,children:`Platform-Specific Solutions`}),`\n`,_jsx(Heading,{level:`3`,id:`macos-issues`,children:`macOS Issues`}),`\n`,_jsx(Heading,{level:`4`,id:`oh-my-zsh-conflicts`,children:`Oh-My-Zsh Conflicts`}),`\n`,_jsx(_components.p,{children:`Oh-My-Zsh often interferes with shell integration. Solutions:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Create a minimal `,_jsx(_components.code,{children:`.zshrc`}),` for VSCode:`,`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# ~/.zshrc-vscode`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` TERM`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`xterm-256color`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` PAGER`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`cat`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Minimal PATH and environment setup`})}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Configure VSCode to use it:`,`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\t\"terminal.integrated.env.osx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\"ZDOTDIR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"~/.zshrc-vscode\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`macos-15+-issues`,children:`macOS 15+ Issues`}),`\n`,_jsx(_components.p,{children:`Recent macOS versions have stricter terminal permissions:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`System Preferences → Privacy \u0026 Security → Developer Tools`}),`\n`,_jsx(_components.li,{children:`Add Visual Studio Code`}),`\n`,_jsx(_components.li,{children:`Restart VSCode completely`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`windows-issues`,children:`Windows Issues`}),`\n`,_jsx(_components.p,{children:`If you’re using Windows and still experiencing issues with shell integration after trying the previous steps, it’s recommended you use Git Bash (or PowerShell).`}),`\n`,_jsx(Heading,{level:`3`,id:`git-bash`,children:`Git Bash`}),`\n`,_jsx(_components.p,{children:`Git Bash is a terminal emulator that provides a Unix-like command line experience on Windows. To use Git Bash, you need to:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Download and run the Git for Windows installer from `,_jsx(_components.a,{href:`https://git-scm.com/downloads/win`,children:`https://git-scm.com/downloads/win`})]}),`\n`,_jsx(_components.li,{children:`Quit and re-open VSCode`}),`\n`,_jsxs(_components.li,{children:[`Press `,_jsx(_components.code,{children:`Ctrl + Shift + P`}),` to open the Command Palette`]}),`\n`,_jsx(_components.li,{children:`Type “Terminal: Select Default Profile” and choose it`}),`\n`,_jsx(_components.li,{children:`Select “Git Bash”`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`powershell`,children:`PowerShell`}),`\n`,_jsx(_components.p,{children:`If you’d still like to use PowerShell, make sure you’re using an updated version (at least v7+).`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Check your current PowerShell version by running: `,_jsx(_components.code,{children:`$PSVersionTable.PSVersion`})]}),`\n`,_jsxs(_components.li,{children:[`If your version is below 7, `,_jsx(_components.a,{href:`https://learn.microsoft.com/en-us/powershell/scripting/whats-new/migrating-from-windows-powershell-51-to-powershell-7?view=powershell-7.4#installing-powershell-7`,children:`update PowerShell`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`You may also need to adjust your PowerShell execution policy. By default, PowerShell restricts script execution for security reasons.`}),`\n`,_jsx(Heading,{level:`4`,id:`understanding-powershell-execution-policies`,children:`Understanding PowerShell Execution Policies`}),`\n`,_jsx(_components.p,{children:`PowerShell uses execution policies to determine which scripts can run on your system. Here are the most common policies:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Restricted`}),`: No PowerShell scripts can run. This is the default setting.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AllSigned`}),`: All scripts, including local ones, must be signed by a trusted publisher.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`RemoteSigned`}),`: Scripts created locally can run, but scripts downloaded from the internet must be signed.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Unrestricted`}),`: No restrictions. Any script can run, though you will be warned before running internet-downloaded scripts.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`For development work in VSCode, the `,_jsx(_components.code,{children:`RemoteSigned`}),` policy is generally recommended. It allows locally created scripts to run without restrictions while maintaining security for downloaded scripts. To learn more about PowerShell execution policies and understand the security implications of changing them, visit Microsoft’s documentation: `,_jsx(_components.a,{href:`https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies`,children:`About Execution Policies`}),`.`]}),`\n`,_jsx(Heading,{level:`4`,id:`steps-to-change-the-execution-policy`,children:`Steps to Change the Execution Policy`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Open PowerShell as an Administrator: Press `,_jsx(_components.code,{children:`Win + X`}),` and select “Windows PowerShell (Administrator)” or “Windows Terminal (Administrator)”.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Check Current Execution Policy by running this command:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`powershell`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`powershell`,children:_jsxs(_components.code,{language:`powershell`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`Get-ExecutionPolicy`})}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`If the output is already `,_jsx(_components.code,{children:`RemoteSigned`}),`, `,_jsx(_components.code,{children:`Unrestricted`}),`, or `,_jsx(_components.code,{children:`Bypass`}),`, you likely don’t need to change your execution policy. These policies should allow shell integration to work.`]}),`\n`,_jsxs(_components.li,{children:[`If the output is `,_jsx(_components.code,{children:`Restricted`}),` or `,_jsx(_components.code,{children:`AllSigned`}),`, you may need to change your policy to enable shell integration.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Change the Execution Policy by running the following command:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`powershell`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`powershell`,children:_jsxs(_components.code,{language:`powershell`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`Set-ExecutionPolicy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` RemoteSigned `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Scope CurrentUser`})]}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`This sets the policy to `,_jsx(_components.code,{children:`RemoteSigned`}),` for the current user only, which is safer than changing it system-wide.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Confirm the Change by typing `,_jsx(_components.code,{children:`Y`}),` and pressing Enter when prompted.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Verify the Policy Change by running `,_jsx(_components.code,{children:`Get-ExecutionPolicy`}),` again to confirm the new setting.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Restart VSCode and try the shell integration again.`}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`wsl-integration`,children:`WSL Integration`}),`\n`,_jsx(_components.p,{children:`For WSL issues:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Use WSL extension for VSCode`}),`\n`,_jsxs(_components.li,{children:[`Open folder in WSL: `,_jsx(_components.code,{children:`code .`}),` from WSL terminal`]}),`\n`,_jsx(_components.li,{children:`Select “WSL Bash” as terminal profile in Sixth`}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`path-issues`,children:`Path Issues`}),`\n`,_jsx(_components.p,{children:`Windows path problems:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Use forward slashes in Sixth: `,_jsx(_components.code,{children:`C:/Users/...`})]}),`\n`,_jsxs(_components.li,{children:[`Quote paths with spaces: `,_jsx(_components.code,{children:`\"C:/Program Files/...\"`})]}),`\n`,_jsxs(_components.li,{children:[`Avoid `,_jsx(_components.code,{children:`~`}),` - use full paths`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`linux/ssh/container-issues`,children:`Linux/SSH/Container Issues`}),`\n`,_jsx(Heading,{level:`4`,id:`ssh-connections`,children:`SSH Connections`}),`\n`,_jsx(_components.p,{children:`For remote development:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Install Sixth on the remote machine, not locally`}),`\n`,_jsx(_components.li,{children:`Use SSH extension’s integrated terminal`}),`\n`,_jsx(_components.li,{children:`Increase timeout to 15+ seconds`}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`docker-containers`,children:`Docker Containers`}),`\n`,_jsx(_components.p,{children:`When developing in containers:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Install Sixth in the container`}),`\n`,_jsx(_components.li,{children:`Use Dev Containers extension`}),`\n`,_jsx(_components.li,{children:`Ensure shell integration scripts are available`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`shell-specific-fixes`,children:`Shell-Specific Fixes`}),`\n`,_jsx(Heading,{level:`3`,id:`zsh`,children:`Zsh`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Add to ~/.zshrc`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` TERM`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`xterm-256color`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` PAGER`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`cat`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Disable fancy prompts for VSCode`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [[ `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$TERM_PROGRAM`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ==`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"vscode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]]; `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`then`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` PS1`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"%n@%m %1~ %# \"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`fi`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`bash`,children:`Bash`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Add to ~/.bashrc`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` TERM`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`xterm-256color`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` PAGER`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`cat`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Simple prompt for VSCode`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [[ `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$TERM_PROGRAM`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ==`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"vscode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]]; `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`then`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` PS1`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'\\\\u@\\\\h:\\\\w\\\\$ '`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`fi`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`fish`,children:`Fish`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`fish`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`fish`,children:_jsxs(_components.code,{language:`fish`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Add to ~/.config/fish/config.fish`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -x TERM xterm-256color`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -x PAGER cat`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Disable fancy features in VSCode`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` test`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$TERM_PROGRAM`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"vscode\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` fish_prompt`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` echo`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`whoami`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'@'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`hostname`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`':'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`pwd`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'> '`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` end`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`end`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`powershell-2`,children:`PowerShell`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`powershell`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`powershell`,children:_jsxs(_components.code,{language:`powershell`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Add to $PROFILE`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`env:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`PAGER`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"cat\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Disable progress bars`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`$ProgressPreference`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'SilentlyContinue'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`advanced-troubleshooting`,children:`Advanced Troubleshooting`}),`\n`,_jsx(Heading,{level:`3`,id:`debug-mode`,children:`Debug Mode`}),`\n`,_jsx(_components.p,{children:`Enable terminal debugging to see what’s happening:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Open VSCode Command Palette (Cmd/Ctrl+Shift+P)`}),`\n`,_jsx(_components.li,{children:`Run: “Developer: Set Log Level…”`}),`\n`,_jsx(_components.li,{children:`Choose “Trace”`}),`\n`,_jsx(_components.li,{children:`Check Output panel → “Sixth” for terminal logs`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`manual-shell-integration-test`,children:`Manual Shell Integration Test`}),`\n`,_jsx(_components.p,{children:`Test if shell integration works at all:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# In VSCode terminal`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $TERM_PROGRAM`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Should show \"vscode\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $VSCODE_SHELL_INTEGRATION`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Should be \"1\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`faq`,children:`FAQ`}),`\n`,_jsx(Heading,{level:`3`,id:`why-does-sixth-create-so-many-terminals`,children:`Why does Sixth create so many terminals?`}),`\n`,_jsx(_components.p,{children:`When shell integration fails, Sixth can’t reuse terminals safely (they might be running long processes). Enable shell integration or adjust the terminal reuse setting.`}),`\n`,_jsx(Heading,{level:`3`,id:`can-i-use-my-custom-shell-nushell-xonsh-etc-`,children:`Can I use my custom shell (nushell, xonsh, etc.)?`}),`\n`,_jsx(_components.p,{children:`Sixth officially supports bash, zsh, fish, and PowerShell. Custom shells may work but aren’t guaranteed. Use bash as a fallback.`}),`\n`,_jsx(Heading,{level:`3`,id:`why-do-some-commands-work-but-others-don’t`,children:`Why do some commands work but others don’t?`}),`\n`,_jsxs(_components.p,{children:[`Commands that use interactive features (pagers, progress bars, curses) often fail. Set `,_jsx(_components.code,{children:`PAGER=cat`}),` and use non-interactive flags.`]}),`\n`,_jsx(Heading,{level:`3`,id:`how-do-i-know-if-shell-integration-is-working`,children:`How do I know if shell integration is working?`}),`\n`,_jsx(_components.p,{children:`Working integration shows command output in Sixth’s chat. Failed integration shows “Shell Integration Unavailable” or “[Command is running but producing no output]”.`}),`\n`,_jsx(Heading,{level:`2`,id:`still-having-issues`,children:`Still Having Issues?`}),`\n`,_jsx(_components.p,{children:`If you’ve tried everything:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Collect Debug Info`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Shell: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$SHELL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Term: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$TERM`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"VSCode: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$TERM_PROGRAM`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`which`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` bash`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`bash`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --version`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Report the Issue`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Use `,_jsx(_components.code,{children:`/reportbug`}),` in Sixth github issues`]}),`\n`,_jsx(_components.li,{children:`Include your debug info`}),`\n`,_jsx(_components.li,{children:`Mention which solutions you tried`}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Remember: Most terminal issues are resolved by switching to bash and increasing the timeout. Start there before trying complex\nsolutions.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Terminal Integration Troubleshooting Guide","sidebarTitle":"Terminal Troubleshooting","description":"Complete guide to resolving terminal integration issues in Sixth","href":"/troubleshooting/terminal-integration-guide"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Quick Diagnosis Flowchart","slug":"quick-diagnosis-flowchart","depth":2,"children":[]},{"title":"Common Issues \u0026 Quick Solutions","slug":"common-issues-\u0026-quick-solutions","depth":2,"children":[{"title":"1. Shell Integration Unavailable","slug":"1-shell-integration-unavailable","depth":3,"children":[]},{"title":"macOS","slug":"macos","depth":4,"children":[]},{"title":"Windows","slug":"windows","depth":4,"children":[]},{"title":"Linux","slug":"linux","depth":4,"children":[]},{"title":"2. Command Output Not Visible","slug":"2-command-output-not-visible","depth":3,"children":[]},{"title":"3. Character Filtering Issues","slug":"3-character-filtering-issues","depth":3,"children":[]},{"title":"4. Long-Running Commands \u0026 Progress Bars","slug":"4-long-running-commands-\u0026-progress-bars","depth":3,"children":[]}]},{"title":"Terminal Settings Explained","slug":"terminal-settings-explained","depth":2,"children":[{"title":"Default Terminal Profile","slug":"default-terminal-profile","depth":3,"children":[]},{"title":"Shell Integration Timeout","slug":"shell-integration-timeout","depth":3,"children":[]},{"title":"Enable Aggressive Terminal Reuse","slug":"enable-aggressive-terminal-reuse","depth":3,"children":[]},{"title":"Terminal Output Line Limit","slug":"terminal-output-line-limit","depth":3,"children":[]}]},{"title":"Platform-Specific Solutions","slug":"platform-specific-solutions","depth":2,"children":[{"title":"macOS Issues","slug":"macos-issues","depth":3,"children":[]},{"title":"Oh-My-Zsh Conflicts","slug":"oh-my-zsh-conflicts","depth":4,"children":[]},{"title":"macOS 15+ Issues","slug":"macos-15+-issues","depth":4,"children":[]},{"title":"Windows Issues","slug":"windows-issues","depth":3,"children":[]},{"title":"Git Bash","slug":"git-bash","depth":3,"children":[]},{"title":"PowerShell","slug":"powershell","depth":3,"children":[]},{"title":"Understanding PowerShell Execution Policies","slug":"understanding-powershell-execution-policies","depth":4,"children":[]},{"title":"Steps to Change the Execution Policy","slug":"steps-to-change-the-execution-policy","depth":4,"children":[]},{"title":"WSL Integration","slug":"wsl-integration","depth":4,"children":[]},{"title":"Path Issues","slug":"path-issues","depth":4,"children":[]},{"title":"Linux/SSH/Container Issues","slug":"linux/ssh/container-issues","depth":3,"children":[]},{"title":"SSH Connections","slug":"ssh-connections","depth":4,"children":[]},{"title":"Docker Containers","slug":"docker-containers","depth":4,"children":[]}]},{"title":"Shell-Specific Fixes","slug":"shell-specific-fixes","depth":2,"children":[{"title":"Zsh","slug":"zsh","depth":3,"children":[]},{"title":"Bash","slug":"bash","depth":3,"children":[]},{"title":"Fish","slug":"fish","depth":3,"children":[]},{"title":"PowerShell","slug":"powershell-2","depth":3,"children":[]}]},{"title":"Advanced Troubleshooting","slug":"advanced-troubleshooting","depth":2,"children":[{"title":"Debug Mode","slug":"debug-mode","depth":3,"children":[]},{"title":"Manual Shell Integration Test","slug":"manual-shell-integration-test","depth":3,"children":[]}]},{"title":"FAQ","slug":"faq","depth":2,"children":[{"title":"Why does Sixth create so many terminals?","slug":"why-does-sixth-create-so-many-terminals","depth":3,"children":[]},{"title":"Can I use my custom shell (nushell, xonsh, etc.)?","slug":"can-i-use-my-custom-shell-nushell-xonsh-etc-","depth":3,"children":[]},{"title":"Why do some commands work but others don’t?","slug":"why-do-some-commands-work-but-others-don’t","depth":3,"children":[]},{"title":"How do I know if shell integration is working?","slug":"how-do-i-know-if-shell-integration-is-working","depth":3,"children":[]}]},{"title":"Still Having Issues?","slug":"still-having-issues","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"sixhqinc-14aa4ccb","siteName":"Sixth","title":"Terminal Integration Troubleshooting Guide - Sixth","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-07T11:50:07.668Z","originalFileLocation":"troubleshooting/terminal-integration-guide.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Complete guide to resolving terminal integration issues in Sixth\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sixth\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sixhqinc-14aa4ccb/E79h7EdVqVBELDYu/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/sixhqinc-14aa4ccb/E79h7EdVqVBELDYu/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sixhqinc-14aa4ccb/E79h7EdVqVBELDYu/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sixhqinc-14aa4ccb/E79h7EdVqVBELDYu/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sixhqinc-14aa4ccb/E79h7EdVqVBELDYu/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sixhqinc-14aa4ccb/E79h7EdVqVBELDYu/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sixhqinc-14aa4ccb/E79h7EdVqVBELDYu/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sixhqinc-14aa4ccb/E79h7EdVqVBELDYu/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sixhqinc-14aa4ccb/E79h7EdVqVBELDYu/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Terminal Integration Troubleshooting Guide - Sixth\">\u003cmeta data-mint-head property=\"og:description\" content=\"Complete guide to resolving terminal integration issues in Sixth\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sixth\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.trysixth.com/troubleshooting/terminal-integration-guide\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sixhqinc-14aa4ccb.mintlify.app/_mintlify/api/og/v2?division=Troubleshooting\u0026amp;title=Terminal+Integration+Troubleshooting+Guide\u0026amp;description=Complete+guide+to+resolving+terminal+integration+issues+in+Sixth\u0026amp;theme=3912389ca6306f447af2ece6\u0026amp;signature=ae39671945245b1a16616094776939215e1c486ec5190a5913b025d78bb7b1fc\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Terminal Integration Troubleshooting Guide - Sixth\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Complete guide to resolving terminal integration issues in Sixth\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sixhqinc-14aa4ccb.mintlify.app/_mintlify/api/og/v2?division=Troubleshooting\u0026amp;title=Terminal+Integration+Troubleshooting+Guide\u0026amp;description=Complete+guide+to+resolving+terminal+integration+issues+in+Sixth\u0026amp;theme=3912389ca6306f447af2ece6\u0026amp;signature=ae39671945245b1a16616094776939215e1c486ec5190a5913b025d78bb7b1fc\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/sixhqinc-14aa4ccb/E79h7EdVqVBELDYu/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sixth\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9D4EDD\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.trysixth.com/troubleshooting/terminal-integration-guide\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/troubleshooting/terminal-integration-guide.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.trysixth.com/#organization\",\"name\":\"Sixth\",\"url\":\"https://docs.trysixth.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sixhqinc-14aa4ccb/E0JgHngWHSe291sy/assets/waves_light.png?fit=max\u0026auto=format\u0026n=E0JgHngWHSe291sy\u0026q=85\u0026s=d5d02db20ddba98d8e5f53e0b5967ac4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.trysixth.com#website\",\"name\":\"Sixth\",\"url\":\"https://docs.trysixth.com\",\"publisher\":{\"@id\":\"https://docs.trysixth.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.trysixth.com/troubleshooting/terminal-integration-guide#webpage\",\"url\":\"https://docs.trysixth.com/troubleshooting/terminal-integration-guide\",\"name\":\"Terminal Integration Troubleshooting Guide\",\"description\":\"Complete guide to resolving terminal integration issues in Sixth\",\"dateModified\":\"2026-10-07T11:50:07.668Z\",\"isPartOf\":{\"@id\":\"https://docs.trysixth.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.trysixth.com/troubleshooting/terminal-integration-guide#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.trysixth.com/troubleshooting/terminal-integration-guide#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Troubleshooting\",\"item\":\"https://docs.trysixth.com/troubleshooting/terminal-quick-fixes\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Terminal Integration Troubleshooting Guide\",\"item\":\"https://docs.trysixth.com/troubleshooting/terminal-integration-guide\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.trysixth.com/troubleshooting/terminal-integration-guide#article\",\"headline\":\"Terminal Integration Troubleshooting Guide\",\"name\":\"Terminal Integration Troubleshooting Guide\",\"description\":\"Complete guide to resolving terminal integration issues in Sixth\",\"url\":\"https://docs.trysixth.com/troubleshooting/terminal-integration-guide\",\"mainEntityOfPage\":{\"@id\":\"https://docs.trysixth.com/troubleshooting/terminal-integration-guide#webpage\"},\"dateModified\":\"2026-10-07T11:50:07.668Z\",\"publisher\":{\"@id\":\"https://docs.trysixth.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.trysixth.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sixth\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Sixth","nav":{"global":null,"groups":[{"group":"Getting Started","pages":[{"title":"What is Sixth?","href":"/getting-started/what-is-sixth"},{"title":"For New Coders","href":"/getting-started/for-new-coders"},{"title":"Installing Sixth","href":"/getting-started/installing-sixth"},{"title":"Installing Dev Essentials","href":"/getting-started/installing-dev-essentials"},{"title":"Model Selection Guide","href":"/getting-started/model-selection-guide"},{"title":"Plans \u0026 Pricing","href":"/getting-started/plans-and-pricing"},{"title":"Task Management in Sixth","href":"/getting-started/task-management"},{"title":"Context Management","href":"/getting-started/understanding-context-management"}]},{"group":"Improving Your Prompting Skills","pages":[{"title":"Prompt Engineering Guide","href":"/prompting/prompt-engineering-guide"},{"title":"Sixth Memory Bank","href":"/prompting/sixth-memory-bank"}]},{"group":"Sixth Features","pages":[{"title":"The Chat Interface","sidebarTitle":"Chat Interface","href":"/features/chat-interface"},{"title":"Design Studio","sidebarTitle":"Design Studio","href":"/features/design-studio"},{"title":"Background Agents","sidebarTitle":"Background Agents","href":"/features/background-agents"},{"title":"Sub-Agents","sidebarTitle":"Sub-Agents","href":"/features/sub-agents"},{"title":"Background Shells \u0026 Long-Running Commands","sidebarTitle":"Background Shells","href":"/features/background-shells"},{"title":"Skills","sidebarTitle":"Skills","href":"/features/skills"},{"title":"Workflows: Connect Your Apps","sidebarTitle":"Workflows (App Integrations)","href":"/features/workflow-integrations"},{"title":"Telegram","sidebarTitle":"Telegram","href":"/features/telegram"},{"title":"Background Daemon","sidebarTitle":"Background Daemon","href":"/features/background-daemon"},{"title":"Interactive Planning","sidebarTitle":"Interactive Planning","href":"/features/interactive-planning"},{"title":"Image Generation \u0026 Image Previews","sidebarTitle":"Image Generation","href":"/features/image-generation"},{"title":"Focus Chain (Task Progress)","sidebarTitle":"Focus Chain","href":"/features/focus-chain"},{"title":"Context Window \u0026 Automatic Compaction","sidebarTitle":"Context \u0026 Compaction","href":"/features/context-and-compaction"}]},{"group":"Features","pages":[{"title":"Auto-Approve","sidebarTitle":"Auto-Approve","href":"/features/auto-approve"},{"title":"Checkpoints","sidebarTitle":"Checkpoints","href":"/features/checkpoints"},{"title":"Sixth Rules","sidebarTitle":"Sixth Rules","href":"/features/sixth-rules"},{"title":"Drag \u0026 Drop","sidebarTitle":"Drag \u0026 Drop","href":"/features/drag-and-drop"},{"title":"Plan, Act \u0026 Explore","sidebarTitle":"Plan, Act \u0026 Explore","href":"/features/plan-and-act"},{"title":"Editing Messages","sidebarTitle":"Editing Messages","href":"/features/editing-messages"},{"group":"@ Mentions","pages":[{"title":"@ Mentions Overview","sidebarTitle":"Overview","href":"/features/at-mentions/overview"},{"title":"File Mentions","sidebarTitle":"File Mentions","href":"/features/at-mentions/file-mentions"},{"title":"Folder Mentions","sidebarTitle":"Folder Mentions","href":"/features/at-mentions/folder-mentions"},{"title":"Terminal Mentions","sidebarTitle":"Terminal Mentions","href":"/features/at-mentions/terminal-mentions"},{"title":"Problem Mentions","sidebarTitle":"Problem Mentions","href":"/features/at-mentions/problem-mentions"},{"title":"Git Mentions","sidebarTitle":"Git Mentions","href":"/features/at-mentions/git-mentions"},{"title":"URL Mentions","sidebarTitle":"URL Mentions","href":"/features/at-mentions/url-mentions"}]},{"group":"Slash Commands","pages":[{"title":"Slash Commands","sidebarTitle":"Overview","href":"/features/slash-commands/slash-commands"},{"title":"Workflows","sidebarTitle":"Workflows","href":"/features/slash-commands/workflows"},{"title":"New Task Command","sidebarTitle":"/newtask","href":"/features/slash-commands/new-task"},{"title":"New Rule Command","sidebarTitle":"/newrule","href":"/features/slash-commands/new-rule"},{"title":"Smol Command","sidebarTitle":"/smol","href":"/features/slash-commands/smol"},{"title":"Report Bug Command","sidebarTitle":"/reportbug","href":"/features/slash-commands/report-bug"},{"title":"/btw Command","sidebarTitle":"/btw","href":"/features/slash-commands/btw"},{"title":"/deep-planning Command","sidebarTitle":"/deep-planning","href":"/features/slash-commands/deep-planning"},{"title":"/agents Command","sidebarTitle":"/agents","href":"/features/slash-commands/agents"}]},{"group":"Commands \u0026 Shortcuts","pages":[{"title":"Commands \u0026 Shortcuts Overview","sidebarTitle":"Overview","href":"/features/commands-and-shortcuts/overview"},{"title":"Code Commands","sidebarTitle":"Code Commands","href":"/features/commands-and-shortcuts/code-commands"},{"title":"Terminal Integration","sidebarTitle":"Terminal Integration","href":"/features/commands-and-shortcuts/terminal-integration"},{"title":"Generate Commit Message","sidebarTitle":"Generate Commit Message","href":"/features/commands-and-shortcuts/git-integration"},{"title":"Keyboard Shortcuts","sidebarTitle":"Keyboard Shortcuts","href":"/features/commands-and-shortcuts/keyboard-shortcuts"}]}]},{"group":"Exploring Sixth's Tools","pages":[{"title":"Sixth Tools Reference Guide","sidebarTitle":"Tools Reference","href":"/exploring-sixth-tools/sixth-tools-guide"},{"title":"New Task Tool","href":"/exploring-sixth-tools/new-task-tool"},{"title":"Remote Browser Support","icon":"globe-pointer","href":"/exploring-sixth-tools/remote-browser-support"}]},{"group":"Enterprise Solutions","pages":[{"title":"Cloud Provider Integration","href":"/enterprise-solutions/cloud-provider-integration"},{"title":"Custom Instructions","href":"/enterprise-solutions/custom-instructions"},{"title":"MCP Servers","href":"/enterprise-solutions/mcp-servers"},{"title":"Security Concerns","href":"/enterprise-solutions/security-concerns"}]},{"group":"MCP Servers","pages":[{"title":"MCP Overview","href":"/mcp/mcp-overview"},{"title":"Adding MCP Servers from GitHub","href":"/mcp/adding-mcp-servers-from-github"},{"title":"Configuring MCP Servers","href":"/mcp/configuring-mcp-servers"},{"title":"Connecting to a Remote Server","href":"/mcp/connecting-to-a-remote-server"},{"title":"MCP Made Easy","href":"/mcp/mcp-marketplace"},{"title":"MCP Server Development Protocol","href":"/mcp/mcp-server-development-protocol"},{"title":"MCP Transport Mechanisms","href":"/mcp/mcp-transport-mechanisms"}]},{"group":"Provider Configuration","pages":[{"title":"Anthropic","href":"/provider-config/anthropic"},{"title":"Claude Code","href":"/provider-config/claude-code"},{"title":"AWS Bedrock","href":"/provider-config/aws-bedrock-with-apikey-authentication"},{"title":"AWS Bedrock","href":"/provider-config/aws-bedrock-with-credentials-authentication"},{"title":"AWS Bedrock w/ Profile Authentication","href":"/provider-config/aws-bedrock-with-profile-authentication"},{"title":"GCP Vertex AI","href":"/provider-config/gcp-vertex-ai"},{"title":"LiteLLM \u0026 Sixth (using Codestral)","href":"/provider-config/litellm-and-cline-using-codestral"},{"title":"VS Code Language Model API","href":"/provider-config/vscode-language-model-api"},{"title":"xAI (Grok)","href":"/provider-config/xai-grok"},{"title":"Mistral","href":"/provider-config/mistral-ai"},{"title":"DeepSeek","href":"/provider-config/deepseek"},{"title":"Ollama","href":"/provider-config/ollama"},{"title":"OpenAI","href":"/provider-config/openai"},{"title":"OpenAI Compatible","href":"/provider-config/openai-compatible"},{"title":"OpenRouter","href":"/provider-config/openrouter"},{"title":"Requesty","href":"/provider-config/requesty"},{"title":"SAP AI Core","href":"/provider-config/sap-aicore"}]},{"group":"Running Models Locally","pages":[{"title":"Read Me First","href":"/running-models-locally/read-me-first"},{"title":"LM Studio","href":"/running-models-locally/lm-studio"},{"title":"Ollama","href":"/running-models-locally/ollama"}]},{"group":"Troubleshooting","pages":[{"title":"Terminal Quick Fixes","sidebarTitle":"Terminal Quick Fixes","description":"Quick solutions for common terminal issues","href":"/troubleshooting/terminal-quick-fixes"},{"title":"Terminal Integration Troubleshooting Guide","sidebarTitle":"Terminal Troubleshooting","href":"/troubleshooting/terminal-integration-guide"}]},{"group":"More Info","pages":[{"title":"Telemetry","description":null,"href":"/more-info/telemetry"}]}]},"title":"Terminal Integration Troubleshooting Guide - Sixth","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":[],"chunks":[]}