Replies: 1 comment 5 replies
-
|
Hey @marekkon 👋 It looks to me like what you're doing should work. [custom.dirty]
command = "echo '*'"
when = "true" # Returns a `0` status code
style = "fg:red"
shell = "bash"To make sure the custom module is running as expected, you can run it using the logger environment variable: RUST_LOG=starship starship prompt |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
can someone show me some (preferably complicated) example of custom module configuration?
I tried to use custom module to create functionality similar to #1192. I did it like this:
but it doesn't work. Actually even example from documentation doesn't work, that's why I'd really like to see some working example.
Another idea I have about a custom module is to display the name
VIRTUAL_ENV, at least until this function is added to the python module.Beta Was this translation helpful? Give feedback.
All reactions