Skip to content

Instantly share code, notes, and snippets.

@Kurt108
Created May 28, 2025 08:29
Show Gist options
  • Save Kurt108/8ba06336ff819ad3ac027bc802cdbdde to your computer and use it in GitHub Desktop.
Save Kurt108/8ba06336ff819ad3ac027bc802cdbdde to your computer and use it in GitHub Desktop.
a custom starship-prompt to display currently active flox environments
[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