Skip to content

Conversation

@Werkov
Copy link
Contributor

@Werkov Werkov commented Jan 23, 2026

I noticed that task completions won't work recently but it can be "fixed" by symlinking the completions scripts from vendor_completions.d directory as described by fish docs [1].
Use this directory by default.

Fixes #3023

Notice: Not tested CI tested, I'm open to adjustments if this is out of conventional style.

[1] https://fishshell.com/docs/current/completions.html

@Werkov
Copy link
Contributor Author

Werkov commented Jan 23, 2026

This should fix #3023 but some futher work may need to be done in distros (e.g. add dependency on fish-devel + not move the completions file in openSUSE)

@Werkov Werkov marked this pull request as draft January 23, 2026 11:00
@Werkov Werkov force-pushed the fix-fix-completion-2 branch from ee3643f to 4809e7c Compare January 23, 2026 12:19
I noticed that task completions won't work recently but it can be
"fixed" by symlinking the completions scripts from vendor_completions.d
directory as described by fish docs [1].
Use this directory by default.

Fixes GothenburgBitFactory#3023

[1] https://fishshell.com/docs/current/completions.html
@Werkov Werkov force-pushed the fix-fix-completion-2 branch from 4809e7c to 5460eac Compare January 23, 2026 12:52
fish-devel ships its desired vendor completions path. Add support for
this to CMakeLists.txt but make it all optional with sane default for
environments that don't want fish in its build deps.
@Werkov Werkov force-pushed the fix-fix-completion-2 branch from 5460eac to 69688d1 Compare January 23, 2026 12:58
@Werkov Werkov marked this pull request as ready for review January 23, 2026 13:20
@djmitche
Copy link
Collaborator

This looks OK to me, but I'd appreciate some feedback either from a package maintainer or a fish user before merging it!

@Werkov
Copy link
Contributor Author

Werkov commented Jan 25, 2026

Heh, I'm a fish user, moving the completions file recovers the completions for me.

@djmitche djmitche requested a review from felixschurk January 25, 2026 20:13
@djmitche
Copy link
Collaborator

Fair enough. @felixschurk if this looks OK to you, let's merge!

@felixschurk
Copy link
Collaborator

Yes, looks fine. :)

@felixschurk felixschurk merged commit 9e6243a into GothenburgBitFactory:develop Jan 26, 2026
16 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.

Fish completions are installed in wrong folder

3 participants