diff options
author | Stephen Ball <REBELinBLUE@users.noreply.github.com> | 2019-12-05 18:04:27 +0000 |
---|---|---|
committer | Matan Kushner <hello@matchai.me> | 2019-12-05 13:04:27 -0500 |
commit | 46904e504566d833601c52ae36848348f61e94a8 (patch) | |
tree | f456f6b2316ff5defc954f9bb9e90f0c83b04609 /docs | |
parent | 78ca70a517b12787f6395bdd67b34fb4df89d029 (diff) |
feat: Add PHP version module (#244)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/config/README.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/config/README.md b/docs/config/README.md index cfc94e484..9b2973235 100644 --- a/docs/config/README.md +++ b/docs/config/README.md @@ -841,6 +841,31 @@ and `poetry` packages. symbol = "🎁 " ``` +## PHP + +The `php` module shows the currently installed version of PHP. +The module will be shown if any of the following conditions are met: + +- The current directory contains a `composer.json` file +- The current directory contains a `.php` file + +### Options + +| Variable | Default | Description | +| ---------- | ------------ | ------------------------------------------------------ | +| `symbol` | `"🐘 "` | The symbol used before displaying the version of PHP. | +| `style` | `"bold red"` | The style for the module. | +| `disabled` | `false` | Disables the `php` module. | + +### Example + +```toml +# ~/.config/starship.toml + +[php] +symbol = "🔹 " +``` + ## Python The `python` module shows the currently installed version of Python. |