mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-13 22:02:34 +00:00
feat: Working on devpod in starship
This commit is contained in:
10
env/.config/starship/starship.toml
vendored
10
env/.config/starship/starship.toml
vendored
@@ -5,9 +5,9 @@ command_timeout = 1000
|
|||||||
format = """
|
format = """
|
||||||
[](color_orange)\
|
[](color_orange)\
|
||||||
$os\
|
$os\
|
||||||
$container\
|
|
||||||
$username\
|
$username\
|
||||||
$hostname\
|
$hostname\
|
||||||
|
$devpod\
|
||||||
[](bg:color_pink fg:color_orange)\
|
[](bg:color_pink fg:color_orange)\
|
||||||
$directory\
|
$directory\
|
||||||
[](fg:color_pink bg:color_bg1)\
|
[](fg:color_pink bg:color_bg1)\
|
||||||
@@ -34,9 +34,13 @@ color_maroon = '#eba0ac'
|
|||||||
color_pink = '#f5c2e7'
|
color_pink = '#f5c2e7'
|
||||||
color_text = '#585b70'
|
color_text = '#585b70'
|
||||||
|
|
||||||
[container]
|
[custom.devpod]
|
||||||
|
description = "Displays the active Devpod workspace"
|
||||||
|
command = "echo $(echo $DEVPOD_WORKSPACE_ID | sed 's/.*://')"
|
||||||
|
when = "[[ -n $DEVPOD_WORKSPACE_ID ]]"
|
||||||
|
style = "bold blue"
|
||||||
|
format = "[📦 $output]($style) "
|
||||||
disabled = false
|
disabled = false
|
||||||
style = '[$symbol \[$name\]]($style) '
|
|
||||||
|
|
||||||
[os]
|
[os]
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|||||||
Reference in New Issue
Block a user