Add shell completions for bash and zsh #298
No reviewers
Labels
No Label
kind/breaking
kind/bug
kind/build
kind/dependency
kind/deployment
kind/docs
kind
enhancement
kind
feature
kind/proposal
kind
question
kind
refactor
kind/security
kind/testing
kind/translation
priority/critical
priority/high
priority/low
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/has-backport
status/has-pull
status/needs-backport
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
upstream/sdk
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/tea#298
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "YakoYakoYokuYoku:shcompl"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #86.
Took the bash script from the github.com/urfave/cli repository and derived a zsh script from it.
Tested both bash and zsh with success.
Thanks! Can you document how to use it in README?
What's the difference between your adaption and the source from urfave/cli?
edit: i get it, you derived the zsh version from the bash version. urface/cli actually provides zsh and powershell helpers as well..
@ -0,0 +1,18 @@
#compdef _tea tea
I think we should include the official script https://github.com/urfave/cli/blob/master/autocomplete/zsh_autocomplete
How about to add a subcommand
tea autocomplete
to set up this automatically?@lunny #299
Closing in favor of #299. A much more complete option IMO.
Pull request closed