Hello I want to use FISH as my main shell and I have to prepend some directories/files to $PATH. I followed the guide on the ArchLinux wiki for prepending to $PATH but I ran into issues.This is the error message, I get it every time I start my Shell. But I can still use it afterwards:
~/.config/fish/config.fish (line 1): The expanded command was empty.$fish_add_path -p /usr/bin/fish ~/.bash.profile /ect/bash.bashrc ~/.bashrc /usr/local/texlive/2024/x86_64-linux^~~~~~~~~~~~~^from sourcing file ~/.config/fish/config.fishcalled during startup
And what I have written in my config.fish is:$fish_add_path -p /usr/bin/fish ~/.bash.profile /ect/bash.bashrc ~/.bashrc /usr/local/texlive/2024/x86_64-linux
I'm using Manjaro I3 and fish version 4.0.0.
I already tried to type this command in the terminal, it didn't work though:set -U fish_user_paths; /usr/local/bin $fish_user_paths
And in most other cases people were using old fish versions and when they updated their FISH shell it worked.