Fish conf breaks with older versions of fish that don't support fish_add_path
Bug #1961450 reported by
Brian Pontarelli
This bug report is a duplicate of:
Bug #1957948: 2.54.2+21.10 introduces a call in vendor_conf.d/snapd.fish to fish function `fish_add_path` which requires fish 3.2 or later (Impish only packages fish 3.1).
Edit
Remove
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
New
|
Undecided
|
Unassigned |
Bug Description
It appears that in a recent version of snapd, a Fish configuration files is being installed to /usr/share/
fish_add_path -aP $snap_bin_path
This line breaks on some versions of fish because the command fish_add_path does not exist. I believe it was added in version 3.3, so it is rather new.
I would recommend removing this command or putting it in an if-block and falling back to updating the PATH variable instead.
To post a comment you must log in.