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

goctl completion has trouble in mac m1 pro ! #2603

Closed
a-dwarf opened this issue Nov 15, 2022 · 1 comment
Closed

goctl completion has trouble in mac m1 pro ! #2603

a-dwarf opened this issue Nov 15, 2022 · 1 comment

Comments

@a-dwarf
Copy link

a-dwarf commented Nov 15, 2022

问题描述

当前版本 https://github.com/zeromicro/go-zero/blob/master/tools/goctl 引用 github.com/spf13/cobra v1.4.0
有一点问题,我看cobra新版本已经解决了. 之前的版本导入路径写死的。新版本 $(brew --prefix)

goctl completion zsh -h

macOS:
goctl completion zsh > /usr/local/share/zsh/site-functions/_goctl

cobra最新版本

macOS:
looklook completion zsh > $(brew --prefix)/share/zsh/site-functions/_looklook

建议

是不是应该升级一下cobra

@MarkJoyMa
Copy link
Collaborator

alright, got it

bensonfx pushed a commit to bensonfx/go-zero that referenced this issue Dec 2, 2022
@kevwan kevwan closed this as completed in 0b3629b Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants