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:
7
env/.config/starship/starship.toml
vendored
7
env/.config/starship/starship.toml
vendored
@@ -7,8 +7,9 @@ format = """
|
||||
$os\
|
||||
$username\
|
||||
$hostname\
|
||||
$devpod\
|
||||
[](bg:color_pink fg:color_orange)\
|
||||
[](bg:color_lavender fg:color_orange)\
|
||||
${custom.devpod}\
|
||||
[](bg:color_pink fg:color_lavender)\
|
||||
$directory\
|
||||
[](fg:color_pink bg:color_bg1)\
|
||||
$git_branch\
|
||||
@@ -38,7 +39,7 @@ color_text = '#585b70'
|
||||
description = "Displays the active Devpod workspace"
|
||||
command = "echo $(echo $DEVPOD_WORKSPACE_ID | sed 's/.*://')"
|
||||
when = "[[ -n $DEVPOD_WORKSPACE_ID ]]"
|
||||
style = "bold blue"
|
||||
style = "bold bg:color_lavender fg:color_text"
|
||||
format = "[ 📦 $output ]($style)"
|
||||
disabled = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user