Comment 8 for bug 1957948

Revision history for this message
Maciej Borzecki (maciek-borzecki) wrote :

@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?