mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
feat(shell): allow distinguishing between pwsh and powershell (#5478)
* Distinguish between pwsh and powershell Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
This commit is contained in:
+17
-16
@@ -3817,22 +3817,23 @@ To enable it, set `disabled` to `false` in your configuration file.
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Default | Description |
|
||||
| ---------------------- | ------------------------- | ------------------------------------------------------------ |
|
||||
| `bash_indicator` | `'bsh'` | A format string used to represent bash. |
|
||||
| `fish_indicator` | `'fsh'` | A format string used to represent fish. |
|
||||
| `zsh_indicator` | `'zsh'` | A format string used to represent zsh. |
|
||||
| `powershell_indicator` | `'psh'` | A format string used to represent powershell. |
|
||||
| `ion_indicator` | `'ion'` | A format string used to represent ion. |
|
||||
| `elvish_indicator` | `'esh'` | A format string used to represent elvish. |
|
||||
| `tcsh_indicator` | `'tsh'` | A format string used to represent tcsh. |
|
||||
| `xonsh_indicator` | `'xsh'` | A format string used to represent xonsh. |
|
||||
| `cmd_indicator` | `'cmd'` | A format string used to represent cmd. |
|
||||
| `nu_indicator` | `'nu'` | A format string used to represent nu. |
|
||||
| `unknown_indicator` | `''` | The default value to be displayed when the shell is unknown. |
|
||||
| `format` | `'[$indicator]($style) '` | The format for the module. |
|
||||
| `style` | `'white bold'` | The style for the module. |
|
||||
| `disabled` | `true` | Disables the `shell` module. |
|
||||
| Option | Default | Description |
|
||||
| ---------------------- | ------------------------- | ------------------------------------------------------------------------------------------------------ |
|
||||
| `bash_indicator` | `'bsh'` | A format string used to represent bash. |
|
||||
| `fish_indicator` | `'fsh'` | A format string used to represent fish. |
|
||||
| `zsh_indicator` | `'zsh'` | A format string used to represent zsh. |
|
||||
| `powershell_indicator` | `'psh'` | A format string used to represent powershell. |
|
||||
| `pwsh_indicator` | | A format string used to represent pwsh. The default value mirrors the value of `powershell_indicator`. |
|
||||
| `ion_indicator` | `'ion'` | A format string used to represent ion. |
|
||||
| `elvish_indicator` | `'esh'` | A format string used to represent elvish. |
|
||||
| `tcsh_indicator` | `'tsh'` | A format string used to represent tcsh. |
|
||||
| `xonsh_indicator` | `'xsh'` | A format string used to represent xonsh. |
|
||||
| `cmd_indicator` | `'cmd'` | A format string used to represent cmd. |
|
||||
| `nu_indicator` | `'nu'` | A format string used to represent nu. |
|
||||
| `unknown_indicator` | `''` | The default value to be displayed when the shell is unknown. |
|
||||
| `format` | `'[$indicator]($style) '` | The format for the module. |
|
||||
| `style` | `'white bold'` | The style for the module. |
|
||||
| `disabled` | `true` | Disables the `shell` module. |
|
||||
|
||||
### Variables
|
||||
|
||||
|
||||
Reference in New Issue
Block a user