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 |