format = '$all' [custom.temperature] command = 'temperature' when = ''' test "$HOME" = "$PWD" ''' style = 'bold red' # Shows which OpenCode profile the shell was last used with. Only renders when # OPENCODE_PROFILE is set, so it costs nothing in an ordinary shell. [env_var.OPENCODE_PROFILE] variable = "OPENCODE_PROFILE" symbol = "oc:" style = "bold purple" format = "[$symbol$env_value]($style) "