Make Flatpak work if you use Fish Shell

If you are using Arch but still have the unusual combination of Fish Shell and using flatpaks here is the fix to make the apps show up in your menu of choice (this has nothing to do with Arch as such, this is neccesary to add if you run any DE other than Gnome in any distro if you want flatpak to work properly with fish shell):

Add this to your

set -l xdg_data_home $XDG_DATA_HOME ~/.local/share
set -gx --path XDG_DATA_DIRS $xdg_data_home[1]/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share

for flatpakdir in ~/.local/share/flatpak/exports/bin /var/lib/flatpak/exports/bin
    if test -d $flatpakdir
        contains $flatpakdir $PATH; or set -a PATH $flatpakdir