Fish shell conf uses missing function

Bug #1960512 reported by Noah Pederson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
New
Undecided
Unassigned

Bug Description

On shell startup:

/usr/share/fish/vendor_conf.d/snapd.fish (line 3):
fish_add_path -aP $snap_bin_path
^
from sourcing file /usr/share/fish/vendor_conf.d/snapd.fish
 called on line 294 of file /usr/share/fish/config.fish
from sourcing file /usr/share/fish/config.fish
 called during startup
Welcome to fish, the friendly interactive shell

OS: Ubuntu 20.04
Fish version: 3.1.0
Snapd version: 2.54.2+20.04ubuntu2

Simple fix is to use `set -x PATH $snap_bin_path $PATH` instead of `fish_add_path`

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.