Why am I having trouble setting environment variables? #10058
-
But when I do either |
Beta Was this translation helpful? Give feedback.
Answered by
faho
Oct 18, 2023
Replies: 1 comment
-
https://fishshell.com/docs/current/faq.html#how-do-i-set-or-clear-an-environment-variable You have not exported the variables, meaning they are not visible outside of fish, to an external process like, say, starship. Add a set -gx STARSHIP_CONFIG "~/.config/fish/starship.toml"
set -gx RIPGREP_CONFIG_PATH "~/.config/fish/.ripgreprc" |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
faho
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://fishshell.com/docs/current/faq.html#how-do-i-set-or-clear-an-environment-variable
You have not exported the variables, meaning they are not visible outside of fish, to an external process like, say, starship. Add a
-x
to your set: