Add tab completion for fish shell #364
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#364
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "noerw/tea:fish-completion"
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?
as title, fixes #361
Handling of fish shell is different in urfave/cli; urfave/cli provides a generator for the shell script needed (probably because the fish
completion
syntax isn't flexible enough to let the application handle the completion at runtime? idk)This means that the fish completion can become out of sync with the tea binary.
If we want to account for that, on each application run we need to
~/.config/fish/conf.d/tea_completion.fish
exists; if soNot sure this is worth the complexity & cost
It generates a completion that also suggests file names, which looks kinda messy: Didn't find a way around this, but there may be a way
Cool, thanks!
Is there an easy way to install from a branch/PR? Happy to test it and provide feedback.
@pat-s yeah, if you have
go
installed:if using tea for the checkout doesn't work out: