diff --git a/docs/config/README.md b/docs/config/README.md index e7c231fc..47f45676 100644 --- a/docs/config/README.md +++ b/docs/config/README.md @@ -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