Supporting the zsh

How can we better support people using zsh? What works, cross-distroly?

Two things are not nice in zsh right now: /snap/bin (or /var/...yadda.../bin) is not in PATH, and tab completion isn’t working, both for snap apps and for snap itself.

FWIW, I am handling the PATH issue with a ‘source /etc/profile.d/apps-bin-path.sh’ in /etc/zsh/zshenv.

related bug:

I’ve attempted to add a completion at least for the snap command. The PR is here: https://github.com/snapcore/snapd/pull/8580

If anyone wants to try that, grab the _snap file, write that to /usr/share/zsh/site-functions (on Fedora, openSUSE, Arch), or /usr/share/zsh/vendor-completions (on Ubuntu and Debian) and start a new shell.