简体   繁体   English

超级终端命令不适用于 WSL 2

[英]Hyper Terminal commands not working on WSL 2

  • have configured it properly otherwise adding in wsl.exe to the path linking it.已正确配置它,否则将 wsl.exe 添加到链接它的路径中。 I am now trying to add in plugins to my Hyper, but I keep on getting this error whenever I type in a Hyper command.我现在正在尝试将插件添加到我的 Hyper,但是每当我输入 Hyper 命令时,我都会收到此错误。 I have tried reinstalling hyper a few times every time doing nothing.每次什么都不做,我都尝试重新安装 hyper 几次。

    hyper -v超-v

    Disabling Chromium GPU blacklist running in prod mode electron will open file://C:\\Users\\joeyg\\AppData\\Local\\hyper\\app-3.0.2\\resources\\app.asar\\index.html Error while loading dev tools extensions Error: Cannot create process, error code: 267禁用在 prod 模式下运行的 Chromium GPU 黑名单电子将打开 file://C:\\Users\\joeyg\\AppData\\Local\\hyper\\app-3.0.2\\resources\\app.asar\\index.html Error while loading dev tools extensions Error :无法创建进程,错误代码:267

I fixed ut by adding this into your zshrc or bashrc file.我通过将它添加到您的 zshrc 或 bashrc 文件中来修复 ut。

alias hyper="cmd.exe /c hyper"

This allows it to work.这允许它工作。 However, it isn't going to work because of the path issue.但是,由于路径问题,它不会起作用。 None of the plugins work at though :(. It is super sad how they don't work. Additionally, it seems to be abandoned when it comes to command, and simply says it isn't supported. I really hate it when you open a new tab and it isn't on the same path.但是没有一个插件可以工作:(。它们不工作真是太令人难过了。此外,它似乎在命令方面被放弃了,只是说它不受支持。当你打开时我真的很讨厌它一个新选项卡,它不在同一条路径上。

I had the same problem with WSL.我在 WSL 上遇到了同样的问题。

This isn't the solution but you could temporarily change your shell in the config-file.这不是解决方案,但您可以临时更改配置文件中的 shell。

shell: 'C:\\Windows\\System32\\cmd.exe'

And then execute all your hyper commands.然后执行所有超级命令。

Use the shell Args like this像这样使用 shell Args

shell: 'C:\\Windows\\System32\\wsl.exe',
shellArgs: ['~'],

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM