Public bug reported:

After installing the proposed snapd update 2.54.2+21.10, I see the
following when launching a new fish shell session on 21.10:

```
/usr/share/fish/vendor_conf.d/snapd.fish (line 3): 
fish_add_path -aP $snap_bin_path
^
from sourcing file /usr/share/fish/vendor_conf.d/snapd.fish
        called on line 294 of file /usr/share/fish/config.fish
from sourcing file /usr/share/fish/config.fish
        called during startup
```

Said line of `/usr/share/fish/vendor_conf.d/snapd.fish` references the
fish function `fish_add_path` which seems (*) to have only been made
available in fish 3.2 (Ubuntu 21.10 packages 3.1.2 of fish presently).

Upgrading fish by installing 3.2 or later via
https://launchpad.net/~fish-shell/+archive/ubuntu/release-3 indeed works
around (or modifying above script to `set -gx $PATH ...` (I guess this
comes with the downside of duplicate entries that `fish_add_path`
removes?)


(*) PR adding `fish_add_path`: 
https://github.com/fish-shell/fish-shell/pull/7028 was part of the 3.2 milestone

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1957948

Title:
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1957948/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to