How to show username and hostname in the terminal?

Normally, when you open the terminal you see [username@hostname ~], but after deactivating a conda environment, I can’t see this anymore. If I close the terminal and open a new one it shows again, but it’s kinda annoying.

Welcome to ask :fedora: , please take a minute to peruse New users! Start here! - Ask Fedora

That looks like this bug, conda 22.9.0 breaks bash command prompt · Issue #11885 · conda/conda · GitHub

4 Likes

Yup, this solved it, thanks!