Quantcast
Channel: Active questions tagged fish - Stack Overflow
Viewing all articles
Browse latest Browse all 131

fish_add_path in config.fish: The expanded command was empty when trying to add to PATH

$
0
0

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.


Viewing all articles
Browse latest Browse all 131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>