#1121418 fish: does not load default functions/completions

Package:
fish
Source:
fish
Description:
friendly interactive shell
Submitter:
Gian Piero Carrubba
Date:
2025-11-26 13:13:01 UTC
Severity:
normal
Tags:
#1121418#5
Date:
2025-11-26 07:37:15 UTC
From:
To:
After upgrading fish, $fish_complete_path and $fish_function_path don't
contain /usr/share/fish/completions and /usr/share/fish/functions,
respectively. This is due to the failure of the 'if not $is_standalone'
condition in /usr/share/fish/config.fish, lines 88 and 97.
I don't know what the standalone/embedded issue is, so I'm not able to
suggest a solution.

As a temporary workaround, I've added the following lines to my
~/.config/fish/config.fish:

set -a fish_function_path $__fish_data_dir/functions
set -a fish_complete_path $__fish_data_dir/completions


Thanks,
Gian Piero.

#1121418#10
Date:
2025-11-26 13:04:12 UTC
From:
To:
tags 1121418 wontfix
thanks

It turned out that in this embedded configuration fish embeds (heh) its
own "support" files, so it doesn't need to read its default directories.
The problem resides in packages deploying their files in
/usr/share/fish/{completions,functions}/ instead of
/usr/share/fish/vendor_{completions,functions}.d/

I'm marking this bug as wontfix (please, feel free to close it) and I'm
going to report against the affected packages.

Thanks,
Gian Piero.