[BUG] VSCODE (mac) extension - "Open Claude in teminal" does not work
Resolved 💬 2 comments Opened Mar 11, 2026 by developweblink Closed Apr 9, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Ok, it's not a major problem, but if I use the "Open Claude in terminal" function from the VS Code extension chat on Mac, I get this error:
❯ source claude
/Users/myuser/.local/bin/claude:1: command not found: \M-O\M-z\M-m\M-~^L
/Users/myuser/.local/bin/claude:2: parse error near `)'
It seems clear to me that the "source" command is being executed, which is trying to run the binary file claude.
What Should Happen?
Open Claude in terminal without errors
Error Messages/Logs
❯ source claude
/Users/myuser/.local/bin/claude:1: command not found: \M-O\M-z\M-m\M-~^L
/Users/myuser/.local/bin/claude:2: parse error near `)'
Steps to Reproduce
use the "Open Claude in terminal" function from the VS Code extension chat on Mac
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.73 (Claude Code) VSCODE Claude extension 2.1.73
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗