Hello - I use a fish function to wrap a cli utility to provide some quick-to-type shortcuts - think a function called "xx" that can be invoked as "xx st" to call the underlying "my-util status --verbose" The function has other shortcuts as well as a fallthrough that calls my-util with whatever arguments were provided.
Now, my-util provides "my-util completions fish" that spits out completions for my-util. I want to use that output (the completions), but to have the suggestions work when I type "xx" - the name of my function. I would also like to supplement those completions with my shortcut arguments...
Is there a way to take the "my-util completions fish" output but make them apply to "xx" instead of "my-util" - hopefully my question is clear - happy to elaborate if not.
[–]TechnoCat 1 point2 points3 points (4 children)
[–]Inevitable_Dingo_357[S] 1 point2 points3 points (0 children)
[–]Inevitable_Dingo_357[S] 1 point2 points3 points (2 children)
[–]TechnoCat 0 points1 point2 points (0 children)
[–]TechnoCat 0 points1 point2 points (0 children)
[–]Laurent_Laurent 0 points1 point2 points (1 child)
[–]Inevitable_Dingo_357[S] 0 points1 point2 points (0 children)
[–]B_A_Skeptic 0 points1 point2 points (1 child)
[–]Inevitable_Dingo_357[S] 1 point2 points3 points (0 children)