Speaking with my fish developer hat on: It seems snap creates POSIX shell scripts in /etc/profile.d, which fish doesn't read because it doesn't use POSIX syntax.
Since fish 2.3.0, fish has three directories for additional configuration to be slotted in: - "/usr/share/fish/conf.d" for packages (this is where the pkg-config variable "confdir" points to) - "/etc/fish/conf.d" for administrators (really "$__fish_sysconfdir/conf.d" - which depends on the sysconfdir configure variable) - "~/.config/fish/conf.d" for users (really "$XDG_CONFIG_HOME/fish/conf.d") It reads all files that end in ".fish", but for each name only the one in the highest-precedence directory. So, my ideal solution would be for snapd to make a file that contains _just_ components for $PATH (not `PATH=`) which is then read by a conf.d script for fish and a /etc/profile.d script for other shells. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1592558 Title: Installed snaps not visible in fish-shell on Fedora 23 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1592558/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs