mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-13 22:02:34 +00:00
feat: Adds devpod module to starship prompt.
This commit is contained in:
9
env/.config/starship/starship.toml
vendored
9
env/.config/starship/starship.toml
vendored
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user