Skip to content

Fix:(issue_2105) Ensure fish completion works#2106

Merged
dearchap merged 2 commits intourfave:mainfrom
dearchap:issue_2105
Apr 21, 2025
Merged

Fix:(issue_2105) Ensure fish completion works#2106
dearchap merged 2 commits intourfave:mainfrom
dearchap:issue_2105

Conversation

@dearchap
Copy link
Contributor

What type of PR is this?

(REQUIRED)

  • bug

What this PR does / why we need it:

(REQUIRED)

Which issue(s) this PR fixes:

(REQUIRED)

Fixes #2105

Special notes for your reviewer:

(fill-in or delete this section)

Testing

(fill-in or delete this section)

Release Notes

(REQUIRED)

Fix bug in Fish completion command

@dearchap dearchap requested a review from a team as a code owner April 21, 2025 13:08
@dearchap
Copy link
Contributor Author

cc @yjp20 can you try this commit ?

@yjp20
Copy link

yjp20 commented Apr 21, 2025

This looks good, though I'm confused why you'd thread through appName if you can always do cmd.Root().Name? Regardless, happy to see this fixed.

@dearchap
Copy link
Contributor Author

@yjp20 The appName is needed for other shells !!!

@dearchap dearchap merged commit 2ec3c16 into urfave:main Apr 21, 2025
10 checks passed
@yjp20
Copy link

yjp20 commented Apr 21, 2025

@dearchap and why would cmd.Root().Name not always work? sorry, just a little confused by that.

@dearchap
Copy link
Contributor Author

@yjp20 Yes it would work. I can reopen your PR

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

Successfully merging this pull request may close these issues.

fish completion does not work

3 participants