The fix by @dolphytr works, but it's still incomplete. It helps to bring
back apps to the menu, but they still can't be run from the command
line. For this to work, I had to apply the commands from #18 plus add
these two lines to my $HOME/.zshrc:

# Fix environment for Wayland + zsh + snapd
source /etc/profile.d/apps-bin-path.sh

As these are just workarounds, the root of the problem seems to be
somewhere else:

The script in /etc/profile.d/apps-bin-path.sh takes care of all the
neccessary changes. It is sourced when starting an X11 session but not
when starting a Wayland session (at least not in combination with zsh).

I suggest to reopen this ticket until that's solved.

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

Title:
  /snap/bin is not added to the PATH when using zsh

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1640514/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to