kingToolbox / WindTerm

A professional cross-platform SSH/Sftp/Shell/Telnet/Serial terminal.
https://kingtoolbox.github.io
22.59k stars 1.75k forks source link

zsh 如何实现 Auto Completion 呢(How does ZSH implement Auto Completion) #1037

Open zxitedu opened 2 years ago

zxitedu commented 2 years ago

发现zsh不可以使用Auto Completion 如果可以如何实现呢

StudentWeis commented 2 years ago

同,我发现 pwsh 无法 Auto Completion。我使用了 oh-my-posh,不知道有没有影响。

Also, I found that pwsh cannot Auto Completion. I used oh-my-posh, don't know if it makes any difference.

ayuayue commented 2 years ago

同,我发现 pwsh 无法 Auto Completion。我使用了 oh-my-posh,不知道有没有影响。

Also, I found that pwsh cannot Auto Completion. I used oh-my-posh, don't know if it makes any difference.

软件自带的 auto completion 并不能很好的提示pwsh,建议使用powershell 的readline https://docs.microsoft.com/zh-cn/powershell/module/psreadline/about/about_psreadline?view=powershell-7.2

ayuayue commented 2 years ago

发现zsh不可以使用Auto Completion 如果可以如何实现呢

zsh还是使用框架吧,oh-my-zsh,zimfw都可以

StudentWeis commented 2 years ago

同,我发现 pwsh 无法 Auto Completion。我使用了 oh-my-posh,不知道有没有影响。 Also, I found that pwsh cannot Auto Completion. I used oh-my-posh, don't know if it makes any difference.

软件自带的 auto completion 并不能很好的提示pwsh,建议使用powershell 的readline https://docs.microsoft.com/zh-cn/powershell/module/psreadline/about/about_psreadline?view=powershell-7.2

谢谢你,这是个好用的功能。