mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-13 20:27:28 -08:00
parent
08f7a6a17e
commit
696bdda00a
|
@ -31,7 +31,8 @@ Display the currently active php version.
|
|||
- missing_command_text: `string` - text to display when the command is missing - defaults to empty
|
||||
- display_mode: `string` - determines when the segment is displayed
|
||||
- `always`: the segment is always displayed
|
||||
- `files`: the segment is only displayed when `*.php, composer.json, composer.lock, .php-version` files are present (default)
|
||||
- `files`: the segment is only displayed when `*.php`, `composer.json`, `composer.lock`, `.php-version` or `blade.php`
|
||||
files are present (default)
|
||||
|
||||
## Template ([info][templates])
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ func (p *Php) Init(props properties.Properties, env environment.Environment) {
|
|||
p.language = language{
|
||||
env: env,
|
||||
props: props,
|
||||
extensions: []string{"*.php", "composer.json", "composer.lock", ".php-version"},
|
||||
extensions: []string{"*.php", "composer.json", "composer.lock", ".php-version", "blade.php"},
|
||||
commands: []*cmd{
|
||||
{
|
||||
executable: "php",
|
||||
|
|
Loading…
Reference in a new issue