Created
May 28, 2025 08:29
-
-
Save Kurt108/8ba06336ff819ad3ac027bc802cdbdde to your computer and use it in GitHub Desktop.
a custom starship-prompt to display currently active flox environments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[custom.flox] | |
command = "flox envs --active --json | jq -r '.[] | .pointer.name'" | |
when = "flox envs --active --json | jq -e 'length > 0'" | |
style = "bold blue" | |
format = "in active flox environment [$output]($style)" | |
description = "A prompt to display the active profile(s) on your flox environment" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment