I have just tested snapd 2.54.3+18.04.2ubuntu0.1 on ubuntu 18.04 and the data/env/snapd.fish.in fix does not totally correct the issue. Here is the new error message obtain:
```
set: Unknown option '--path'
/usr/share/fish/vendor_conf.d/snapd.fish (line 11):
set --path --export XDG_DATA_DIRS $XDG_DATA_DIRS
^
from sourcing file /usr/share/fish/vendor_conf.d/snapd.fish
called on line 250 of file /usr/share/fish/config.fish
```
So the --path option is not supported by the version of fish shell available on ubuntu 18.04 (fish 2.7.1)
Hi Alberto & all,
I have just tested snapd 2.54.3+ 18.04.2ubuntu0. 1 on ubuntu 18.04 and the data/env/ snapd.fish. in fix does not totally correct the issue. Here is the new error message obtain:
``` fish/vendor_ conf.d/ snapd.fish (line 11): fish/vendor_ conf.d/ snapd.fish fish/config. fish
set: Unknown option '--path'
/usr/share/
set --path --export XDG_DATA_DIRS $XDG_DATA_DIRS
^
from sourcing file /usr/share/
called on line 250 of file /usr/share/
```
So the --path option is not supported by the version of fish shell available on ubuntu 18.04 (fish 2.7.1)