[Bug 1640514] Re: /snap/bin is not added to the PATH when using zsh

Axel Beckert abe at debian.org
Wed Nov 9 18:32:29 UTC 2016


Additionally, /etc/profile.d/ in Debian/Ubuntu is a feature implemented
in /etc/profile which is installed by base-files in its postinst script.

But zsh only loads /etc/profile if invoked in its sh or ksh emulation
mode (which is not the case if invoked as "zsh"). I don't think that we
should change that behaviour.

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

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

Status in Snappy:
  New
Status in snapd package in Ubuntu:
  New
Status in zsh package in Ubuntu:
  New

Bug description:
  --- Environment ---
  Ubuntu Zesty 17.04 (dev)
  zsh
  snapd 2.16

  --- Description ---
  zsh does not seem to load the scripts in /etc/profile.d/ (see https://bugzilla.redhat.com/show_bug.cgi?id=88457 ).
  As a consequence, /snap/bin is not added to PATH, and running snaps from terminal (without snap run) does not work

  --- How to reproduce ---
  1) Install zsh
  2) try running apps provided by snaps from the shell, without using snap run

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



More information about the foundations-bugs mailing list