Firebase
What
Display the current active Firebase project.
This segment leverages the firebase-tools.json file generated by the Firebase CLI.
The active files listed there are used to determine the current project against the current directory.
Sample Configuration
- json
 - yaml
 - toml
 
{
  "type": "firebase",
  "style": "powerline",
  "powerline_symbol": "",
  "foreground": "#ffffff",
  "background": "#FFA000",
  "template": "  {{ .Project }}"
}
type: firebase
style: powerline
powerline_symbol: 
foreground: "#ffffff"
background: "#FFA000"
template: "  {{ .Project }}"
type = "firebase"
style = "powerline"
powerline_symbol = ""
foreground = "#ffffff"
background = "#FFA000"
template = "  {{ .Project }}"
Template (info)
default template
{{ .Project }}
Properties
| Name | Type | Description | 
|---|---|---|
.Project | string | the currently active project |