Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

添加completion后,zsh按tab键没有反应 #44

Open
lichenhui1234 opened this issue Dec 17, 2018 · 2 comments
Open

添加completion后,zsh按tab键没有反应 #44

lichenhui1234 opened this issue Dec 17, 2018 · 2 comments
Labels

Comments

@lichenhui1234
Copy link

lichenhui1234 commented Dec 17, 2018

将 zsh_completion文件 拷贝到/usr/share/zsh/site-functions/_ydcv 后,重启zsh,然而tab键没有出现参数不全,这是怎么回事呢

@lichenhui1234 lichenhui1234 changed the title 怎么添加z'sh 添加completion后,zsh按tab键没有反应 Dec 17, 2018
@boypt boypt added the question label Dec 24, 2018
@felixonmars
Copy link
Owner

在我这里无法重现……

2019-01-30-042958-028fc5

@Freed-Wu
Copy link
Contributor

Freed-Wu commented Jun 1, 2022

After cp _ydcv /usr/share/zsh/site-functions, you should update ~/.zcompdump by zcompinit. You can search ydcv in ~/.zcompdump to confirm _ydcv has been loaded successfully.

❯ grep -n ydcv ~/.zcompdump
1631:'ydcv' '_ydcv'

BTW, zcompinit should be added to ~/.zshrc, I suggested.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants