Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DISABLE_MAGIC_FUNCTIONS=true does not affect on internal VSCode shell #12056

Open
markspl opened this issue Nov 23, 2023 · 0 comments
Open

DISABLE_MAGIC_FUNCTIONS=true does not affect on internal VSCode shell #12056

markspl opened this issue Nov 23, 2023 · 0 comments
Assignees
Labels
Bug Something isn't working

Comments

@markspl
Copy link

markspl commented Nov 23, 2023

Describe the bug

When configure DISABLE_MAGIC_FUNCTIONS=true is added on ~/.zshrc file, it does not disable "slow-pasting" on internal VSCode terminal. However, it affects to Windows Terminal and pasted text appears instantly.

zsh is "installed" on Git Bash (no WSL). Windows Terminal opens Bash as default.

VSCode uses Git Bash as a default profile.

Environment
Windows: Version 10.0.19045 Build 19045
VSCode :1.84.2
git: 2.43.0.windows.1
zsh: 5.9 (x86_64-pc-msys)
oh-my-zsh: master (18073af) (Nov 22th)

Steps to reproduce

  1. Add DISABLE_MAGIC_FUNCTIONS=true on the top of the ~/.zshrc file
  2. Close and open shells (Windows Terminal / internal VSCode terminal / ...)
  3. Paste text on shell

Expected behavior

Pasted text should appear instantly

Screenshots and recordings

image

Text on VSCode (left) was pasted first, after this on Windows Terminal (right)

OS / Linux distribution

Windows 10

Zsh version

5.9

Oh My Zsh version

master (18073af)

Terminal emulator

VSCode internal terminal (default profile Git Bash)

If using WSL on Windows, which version of WSL

None

Additional context

No response

@markspl markspl added the Bug Something isn't working label Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

2 participants