mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-04 19:03:38 +00:00
docs(bun): Add nodejs override to bun config documentation (#5834)
This commit is contained in:
parent
df65b2155f
commit
e39e731907
@ -645,7 +645,9 @@ By default the module will be shown if any of the following conditions are met:
|
||||
|
||||
*: This variable can only be used as a part of a style string
|
||||
|
||||
### Example
|
||||
### Examples
|
||||
|
||||
#### Customize the format
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
@ -654,6 +656,15 @@ By default the module will be shown if any of the following conditions are met:
|
||||
format = 'via [🍔 $version](bold green) '
|
||||
```
|
||||
|
||||
#### Replace Node.js
|
||||
|
||||
You can override the `detect_files` property of [the nodejs module](#nodejs) in your config so as to only show the bun runtime:
|
||||
|
||||
```
|
||||
[nodejs]
|
||||
detect_files = ['package.json', '.node-version', '!bunfig.toml', '!bun.lockb']
|
||||
```
|
||||
|
||||
## C
|
||||
|
||||
The `c` module shows some information about your C compiler. By default
|
||||
|
Loading…
Reference in New Issue
Block a user