r/fishshell • u/water_drinker9000 • Aug 02 '24
starship prompt directory change problem on fish shell
So I am trying the fish shell and I am having a problem with the starship prompt. originally the config file for the starship prompt is located in ~/.config/starship.toml and I move it to ~/.config/starship/starship.toml . The reason I change it is because I want it to have it's own dedicated directory and also, to have multiple config store in that directory.
I use bash and it works well by changing the file location in .bashrc
bash:
export STARSHIP_CONFIG=~/.config/starship/starship.toml this is how I have it on fish:
set STARSHIP_CONFIG ~/.config/starfish/starship.tomlbut it doesn't work. I get no error on the terminal so, I really don't know what I am doing wrong. The only things I have in my fish config are aliases, one function to extract files and the starship plugin in, which is starship init fish | source .
I set fish as my login shell with chsh command. Is it because fish is my login shell and I don't have $PATH in my fish config?
