@ytvwld I have 2.54.3+20.04.1ubuntu0.2 version:

```
guest@ubuntu:~$ dpkg -l snapd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version                 Architecture Description
+++-==============-=======================-============-============================================
ii  snapd          2.54.3+20.04.1ubuntu0.2 amd64        Daemon and tooling that 
enable snap packages
```

Which contains this bit in /usr/share/fish/vendor_conf.d/snapd.fish:

```
if not set -q XDG_DATA_DIRS
    set --global --export XDG_DATA_DIRS $XDG_DATA_DIRS
    # XDG_DATA_DIRS is not defined, set it to some reasonable defaults
    set XDG_DATA_DIRS (string join : /usr/local/share /usr/share)
end

if not contains $snap_xdg_path (string split : "$XDG_DATA_DIRS")
    set XDG_DATA_DIRS (string join : -- $XDG_DATA_DIRS $snap_xdg_path)
end
```

Which does not look like what you pasted. Can you double check you have
the right version installed?

-- 
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/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