mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
docs(i18n): new Crowdin updates (#5858)
* New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (German)
This commit is contained in:
@@ -618,7 +618,9 @@ The `bun` module shows the currently installed version of the [bun](https://bun.
|
||||
|
||||
*: Эта переменная может использоваться только в качестве части строки style
|
||||
|
||||
### Пример
|
||||
### Примеры
|
||||
|
||||
#### Customize the format
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
@@ -627,6 +629,15 @@ The `bun` module shows the currently installed version of the [bun](https://bun.
|
||||
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 the module will be shown if the current directory contains a `.c` or `.h` file.
|
||||
@@ -3033,7 +3044,9 @@ The [os_info](https://lib.rs/crates/os_info) crate used by this module is known
|
||||
```toml
|
||||
# This is the default symbols table.
|
||||
[os.symbols]
|
||||
AIX = "➿ "
|
||||
Alpaquita = "🔔 "
|
||||
AlmaLinux = "💠 "
|
||||
Alpine = "🏔️ "
|
||||
Amazon = "🙂 "
|
||||
Android = "🤖 "
|
||||
@@ -3050,6 +3063,7 @@ Garuda = "🦅 "
|
||||
Gentoo = "🗜️ "
|
||||
HardenedBSD = "🛡️ "
|
||||
Illumos = "🐦 "
|
||||
Kali = "🐉 "
|
||||
Linux = "🐧 "
|
||||
Mabox = "📦 "
|
||||
Macos = "🍎 "
|
||||
@@ -3068,11 +3082,14 @@ Pop = "🍭 "
|
||||
Raspbian = "🍓 "
|
||||
Redhat = "🎩 "
|
||||
RedHatEnterprise = "🎩 "
|
||||
RockyLinux = "💠 "
|
||||
Redox = "🧪 "
|
||||
Solus = "⛵ "
|
||||
SUSE = "🦎 "
|
||||
Ubuntu = "🎯 "
|
||||
Ultramarine = "🔷 "
|
||||
Unknown = "❓ "
|
||||
Void = " "
|
||||
Windows = "🪟 "
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user