-
Notifications
You must be signed in to change notification settings - Fork 433
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
[Error] user-provided autoloaded fish_prompt
is not loaded
#1671
Comments
I see the same behavior. Host OS: Fedora Silverblue 41.20250209.0
|
So that was some unexpected behaviour that had me clueless for a while.... The file overriding the the prompt in the container is
if test -e /etc/fish/conf.d/distrobox_config.fish
echo "Loading distrobox fish config"
source /etc/fish/conf.d/distrobox_config.fish
echo "Overwriting prompt by user's choice"
source $XDG_CONFIG_HOME/fish/conf.d/fish_prompt.fish
end |
Please, before opening a bug:
Describe the bug
e2ac35b has introduced a default prompt for fish shell. However, since the function is defined in a configure file, fish shell always load the function and ignore the user-provided autoloaded function
fish_prompt
, which is usually defined$XDG_CONFIG_HOME/fish/functions/fish_prompt.fish
.To Reproduce
have a fish_prompt.fish with the function defined in it.
launch distrobox with fish shell
Expected behavior
The prompt should be what the user defined, not the default prompt like
Desktop (please complete the following information):
Aeon
podman version 5.3.2
distrobox: 1.8.0
preinstalled distro package
The text was updated successfully, but these errors were encountered: