edc / bass

Make Bash utilities usable in Fish shell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

append_path: command not found

kekonn opened this issue · comments

When using bass to run the profile.d directory after login, I get the titular error from 2 files:

  • /etc/profile.d/flatpak-bindir.sh
  • /etc/profile.d/perlbin.sh

I am running fish v3.1.1 on Garuda.

flatpak-bindir.sh

if [ -n "$XDG_DATA_HOME" ] && [ -d "$XDG_DATA_HOME/flatpak/exports/bin" ]; then
append_path "$XDG_DATA_HOME/flatpak/exports/bin"
elif [ -n "$HOME" ] && [ -d "$HOME/.local/share/flatpak/exports/bin" ]; then
append_path "$HOME/.local/share/flatpak/exports/bin"
fi

if [ -d /var/lib/flatpak/exports/bin ]; then
append_path /var/lib/flatpak/exports/bin
fi

gets me "flatpak-bindir.sh: line 4: append_path: command not found"