feat: Adds devpod module to starship prompt.

This commit is contained in:
2026-02-02 09:37:16 -05:00
parent c4faef634a
commit 17d83c347d

View File

@@ -7,8 +7,9 @@ format = """
$os\ $os\
$username\ $username\
$hostname\ $hostname\
$devpod\ [](bg:color_lavender fg:color_orange)\
[](bg:color_pink fg:color_orange)\ ${custom.devpod}\
[](bg:color_pink fg:color_lavender)\
$directory\ $directory\
[](fg:color_pink bg:color_bg1)\ [](fg:color_pink bg:color_bg1)\
$git_branch\ $git_branch\
@@ -38,8 +39,8 @@ color_text = '#585b70'
description = "Displays the active Devpod workspace" description = "Displays the active Devpod workspace"
command = "echo $(echo $DEVPOD_WORKSPACE_ID | sed 's/.*://')" command = "echo $(echo $DEVPOD_WORKSPACE_ID | sed 's/.*://')"
when = "[[ -n $DEVPOD_WORKSPACE_ID ]]" when = "[[ -n $DEVPOD_WORKSPACE_ID ]]"
style = "bold blue" style = "bold bg:color_lavender fg:color_text"
format = "[📦 $output]($style) " format = "[ 📦 $output ]($style)"
disabled = false disabled = false
[os] [os]