Back to Oh My Posh

Firebase

website/docs/segments/cli/firebase.mdx

29.12.01.1 KB
Original Source

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

import Config from '@site/src/components/Config.js';

<Config data={{ "type": "firebase", "style": "powerline", "powerline_symbol": "\uE0B0", "foreground": "#ffffff", "background": "#FFA000", "template": " \udb82\udd67 {{ .Project }}" }}/>

Template (info)

:::note default template

template
{{ .Project }}

:::

Properties

NameTypeDescription
.Projectstringthe currently active project