After a system updated my fish shell prompt is no longer working. Whenever I open a terminal I get this error:
/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 Type `help` for instructions on how to use fish
I have confirmed that
fish_add_path is cannot be invoked from the command line, which surprises me because it's one of the essential helper functions included in fish.
Other relevant details:
~> snap --version snap 2.54.2+20.04ubuntu2 snapd 2.54.2+20.04ubuntu2 series 16 ubuntu 20.04 kernel 5.13.0-28-generic ~> fish --version fish, version 3.1.0 ~> which fish /usr/bin/fish ~> echo $PATH /home/user/.amplify/bin /home/user/.local/bin /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games /usr/local/games /snap/bin /home/user/.local/bin
...so /snap/bin is on the
I'm assuming an update to fish and/or snap triggered this error. Assuming a clean installation of fish on Ubuntu, where should I find the fish_add_path tool?