zsh has no /snap/bin in PATH
Bug #1637220 reported by
Andrea Bernabei
This bug report is a duplicate of:
Bug #1640514: /snap/bin is not added to the PATH when using zsh.
Edit
Remove
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
zsh (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Environment:
XPS13 laptop, just upgraded from Yakkey to Zesty
snapd version 2.16+160.10ubuntu1
ubuntu-core version 16.04.1 r423
How to reproduce:
1) sudo snap install --edge --devmode ubuntu-calendar-app
2) run ubuntu-calendar-app (or ubuntu-
Expected outcome:
The app runs
Actual outcome:
"Command not found"
Additional info:
The app runs successfully if started with "snap run ubuntu-
summary: |
- Command not found when launching snaps via terminal on Zesty + zsh has no /snap/bin in PATH |
Changed in snapd (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
looks like /snap/bin is not in your PATH ... did you already log out/in after the upgrade ?
(IIRC snaps puts a /etc/profile.d snippet in place to add to the PATH, that only gets processed on login)