My Nix Infra
nix nixos
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add container toolbox indication in starship

ydcjeff 59591dae 83e6fb38

+8
+8
starship.toml
··· 1 1 format = """ 2 + ${custom.toolbx}\ 2 3 $directory\ 3 4 $git_branch\ 4 5 $git_commit\ ··· 26 27 27 28 [git_status] 28 29 style = "red" 30 + 31 + [custom.toolbx] 32 + command = """grep -Po 'name="\\K[^"]+' /run/.containerenv""" 33 + when = "test -f /run/.containerenv" 34 + description = "Current toolbx container" 35 + format = "[toolbx-$output@](green)" 36 + shell = ["sh"]