-
Notifications
You must be signed in to change notification settings - Fork 160
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
fix(zsh): ignore inserting zsh-completion if system don't have zsh shell #1025
fix(zsh): ignore inserting zsh-completion if system don't have zsh shell #1025
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Thanks for your contribution! 🎉 👍
It seems that the mainline version can't pass the CI too. |
- Change envd's zsh-completion script name to `.envd.zsh` - Try to write the `.envd.zsh` by the following methods: 1. write `/usr/share/zsh/site-functions/.envd.zsh` directly. 2. write `/usr/local/share/zsh/site-functions/.envd.zsh` directly. 3. write `$HOME/.envd.zsh` directly and add loaded script into the `$HOME/.zshrc` Signed-off-by: Triple-Z <me@triplez.cn>
Signed-off-by: Triple-Z <me@triplez.cn>
Signed-off-by: Triple-Z <me@triplez.cn>
Signed-off-by: Triple-Z <me@triplez.cn>
a07444b
to
2308ed4
Compare
New changes are detected. LGTM label has been removed. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Triple-Z The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I have rebased the |
LGTM! |
resolves: #552
.envd.zsh
.envd.zsh
by the following methods:/usr/share/zsh/site-functions/.envd.zsh
directly./usr/local/share/zsh/site-functions/.envd.zsh
directly.$HOME/.envd.zsh
directly and add loaded script into the$HOME/.zshrc
Signed-off-by: Triple-Z me@triplez.cn