Section 'rust' was not loaded

Hi. I don't know what happened (maybe because of manually deleting the .cargo/ folder); there is an error that appears every time I launch my Ubuntu terminal: "Section 'rust' was not loaded" and 'rust not found'. I tried to solve it by reinstalling—the problem persists.

What can be done to disappear this message?

image

Do you have anything rust related in your zsh config?

I have aliases for exa and bat. But it mustn't be a problem.

I use oh_my_zsh. Besides oh_my_zsh config, there are aliases and exports for node and go.

Does it still give that error if you temporarily disable the rust plugin of oh-my-zsh?

Yes

It turned out the problem is with spaceship theme. I've checked the master branch and pulled from origin. It resolved the problem.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.