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

fish_completions: fix completion for macos #1710

Merged
merged 4 commits into from
Oct 30, 2023
Merged

fish_completions: fix completion for macos #1710

merged 4 commits into from
Oct 30, 2023

Conversation

l4zygreed
Copy link
Contributor

@l4zygreed l4zygreed commented Oct 25, 2023

tried to fix broken completion for macos #1703
edited src/completions.rs file and regenerated completions via bin/generate-completions script

tested on macos sonoma and archlinux machine, works the same
replaced sed with awk to have more flexible formatting on arguments (and because macos sed have differences)
example image

@l4zygreed l4zygreed marked this pull request as draft October 25, 2023 14:10
@l4zygreed l4zygreed changed the title fish_completions: make regex macos and linux friendly fish_completions: fix completion for macos Oct 25, 2023
@l4zygreed l4zygreed marked this pull request as ready for review October 25, 2023 16:58
@casey
Copy link
Owner

casey commented Oct 26, 2023

This looks good to me! I'm not a fish user, so if anyone who uses fish wants to try this out before I merge, please do! Otherwise I'll just let it sit for a little bit and merge it.

@sebdvd
Copy link

sebdvd commented Oct 30, 2023

I can confirm it works on macos 14.1 with fish 3.6.1

@sneeu
Copy link

sneeu commented Oct 30, 2023

This change is working for me on macOS 13.5 & fish 3.6.1.

@casey casey enabled auto-merge (squash) October 30, 2023 17:27
@casey casey merged commit e585ed9 into casey:master Oct 30, 2023
5 checks passed
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.

None yet

4 participants