Starship can't read its config file #3362
-
I use Starship to customize my prompt(s). As suggested in the docs, I have it configured through a custom config file as well which is located under So, each time I start a Git Bash session, I see this error: [ERROR] - (starship::config): Unable to read config file content: Access is denied. (os error 5) I've tried invoking a Git Bash session with admin privileges as well but with no luck. So, is there anything I should try out to debug this issue? Or if there's a solution to it, it would be nice if you could share it. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Looking at their documentation, they seem to be trying to open |
Beta Was this translation helpful? Give feedback.
-
For anyone else stumbling across this issue, here's what you got to do: Leave this line of code in your # Example: $HOME/.config/starship.toml
export $STARSHIP_CONFIG="$HOME/path/to/config/file" Refer to this thread for a possible explanation on this issue. And for more info on configuration details find the details on the official docs. Additionally, feel free to track this issue here. |
Beta Was this translation helpful? Give feedback.
For anyone else stumbling across this issue, here's what you got to do:
Leave this line of code in your
.bashrc
:Refer to this thread for a possible explanation on this issue. And for more info on configuration details find the details on the official docs. Additionally, feel free to track this issue here.