-
Hello! I am looking for nice solutions to make myself very aware that the value of the environment variable How could I achieve something like that using starship? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
have a look at https://starship.rs/config/#environment-variable or https://starship.rs/config/#custom-commands. The former if just displaying something when an env var is set and the latter to basically compute everything which should be displayed in shell and then just let starship display it. |
Beta Was this translation helpful? Give feedback.
-
Awesome, the custom commands is exactly what I need! |
Beta Was this translation helpful? Give feedback.
have a look at https://starship.rs/config/#environment-variable or https://starship.rs/config/#custom-commands. The former if just displaying something when an env var is set and the latter to basically compute everything which should be displayed in shell and then just let starship display it.