Fish has incorrect XDG_DATA_DIRS variable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Released
|
Undecided
|
Maciej Borzecki | ||
snapd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In https:/
However, this does not appear to work on my system, instead XDG_DATA_DIRS ends up with having spaces in it, meaning the applications are not found:
~ ᐅ fish --version
fish, version 3.3.1
~ ᐅ echo $XDG_DATA_DIRS
/usr/local/
~ ᐅ bash -c 'echo "$XDG_DATA_DIRS"'
/usr/local/
It appears the original PR was appending the variable to the XDG_DATA_DIRS array. However, in recent versions of Fish, the variable is _not_ an array (see https:/
Changed in snapd: | |
milestone: | none → 2.54 |
Changed in snapd: | |
status: | Fix Committed → Fix Released |
Changed in snapd (Ubuntu): | |
status: | Confirmed → Fix Released |
I believe this was addressed in https:/ /github. com/snapcore/ snapd/pull/ 11221 which landed just recently. You can install the snapd snap from edge and then copy /snap/snapd/ current/ usr/share/ fish/vendor_ conf.d/ snapd.fish to /usr/share/ fish/vendor_ conf.d/ and verify if that works for you?