WSL“伪终端”的GIT自动完成将不会被分配,因为Stdin不是终端。
自动完成与所有命令都很好地工作,除非我使用git
启动命令行。当我尝试使用tab
键自动完成命令行时,我的shell触发了此错误:
伪末端不会分配,因为stdin不是终端。
我已经看到了很多麻烦,但是每个错误都是关于ssh
命令,在这种情况下,我没有运行SSH。
至少有任何问题,问题,还是在触发此错误时,在哪个文件,命令,软件包,...?
所有使用的版本:
- wsl2 正在运行 ubuntu 20.04 ,使用原始OS Windows 11
- git版本 2.25.1 2.25.1
- bash-completion 已安装的终端安装的包装
- 是 hyper.js 3.2.0
感谢您的帮助。
Autocompletion work well with all command except when I start my command line with git
. When I'm trying to autocomplete command line with tab
key, my shell trigger this error :
Pseudo-terminal will not be allocated because stdin is not a terminal.
I've seen lot's of trouble arround this error, but every error was about ssh
command and I'm not running ssh in this case.
Is there any stuff to find at least, the problem, or just when this error is triggered, in which file, command, package, ...?
All version used:
- WSL2 is running Ubuntu 20.04, with original OS Windows 11
- Git version 2.25.1
- bash-completion package installed
- Terminal used is Hyper.js 3.2.0
Thanks for your help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如 rprichard/wslbridge第45 ,您可能需要将Hyper.js配置为Hyper.js,使用
wslbridge2
而不是。这个旧
vercel/hyper
>显示了如何设置WSLBridge。它可以适应使用WSLBRIDGE2。As illustrated in rprichard/wslbridge issue 45, you might need to configure Hyper.js to use
wslbridge2
instead.This old
vercel/hyper
issue 1127 showed how to set wslbridge. It can be adapted to use wslbridge2.