diff --git a/docs/zh-CN/config/README.md b/docs/zh-CN/config/README.md index b910f9206..19efbd0cf 100644 --- a/docs/zh-CN/config/README.md +++ b/docs/zh-CN/config/README.md @@ -630,15 +630,6 @@ symbol = '๐Ÿฆฌ ' format = 'via [๐Ÿ” $version](bold green) ' ``` -#### ๆ›ฟๆข 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: - -```toml -[nodejs] -detect_files = ['package.json', '.node-version', '!bunfig.toml', '!bun.lockb'] -``` - ## C The `c` module shows some information about your C compiler. By default the module will be shown if the current directory contains a `.c` or `.h` file. @@ -3007,6 +2998,8 @@ The `nodejs` module shows the currently installed version of [Node.js](https://n - The current directory contains a file with the `.js`, `.mjs` or `.cjs` extension - The current directory contains a file with the `.ts`, `.mts` or `.cts` extension +Additionally, the module will be hidden by default if the directory contains a `bunfig.toml`, `bun.lock`, or `bun.lockb` file, overriding the above conditions. + ### ้…็ฝฎ้กน | ้€‰้กน | ้ป˜่ฎคๅ€ผ | ๆ่ฟฐ | @@ -3234,6 +3227,7 @@ Amazon = "๐Ÿ™‚ " Android = "๐Ÿค– " Arch = "๐ŸŽ—๏ธ " Artix = "๐ŸŽ—๏ธ " +Bluefin = "๐ŸŸ " CachyOS = "๐ŸŽ—๏ธ " CentOS = "๐Ÿ’  " Debian = "๐ŸŒ€ "