mirror of
https://github.com/starship/starship.git
synced 2025-03-13 06:49:28 +01:00
New translations readme.md (Indonesian)
This commit is contained in:
parent
2053cef8a2
commit
ab43a02303
@ -339,6 +339,7 @@ $time\
|
||||
$status\
|
||||
$os\
|
||||
$container\
|
||||
$netns\
|
||||
$shell\
|
||||
$character"""
|
||||
```
|
||||
@ -2881,6 +2882,37 @@ format = '[$symbol]($style)'
|
||||
style = 'bold purple'
|
||||
```
|
||||
|
||||
## Network Namespace
|
||||
|
||||
The `netns` module shows the current network namespace. This uses `ip netns identify` to get the network namespace, so only network namespaces mounted at `/var/run/netns` will be detected.
|
||||
|
||||
### Opsi
|
||||
|
||||
| Opsi | Bawaan | Deskripsi |
|
||||
| ---------- | --------------------------------- | ----------------------------------------------------------------- |
|
||||
| `fromat` | `'[$symbol \[$name\]]($style)'` | Format dari modul. |
|
||||
| `symbol` | `'🛜 '` | The symbol used before the network namespace (defaults to empty). |
|
||||
| `style` | `'blue bold dimmed'` | Gaya penataan untuk modul. |
|
||||
| `disabled` | `false` | Disables the `netns` module. |
|
||||
|
||||
### Variabel
|
||||
|
||||
| Variabel | Contoh | Deskripsi |
|
||||
| --------- | ---------- | ----------------------------------------- |
|
||||
| name | `my-netns` | The name of the current network namespace |
|
||||
| symbol | | Menyalin nilai dari opsi `symbol` |
|
||||
| style\* | | Menyalin nilai dari opsi `style` |
|
||||
|
||||
### Contoh
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
|
||||
[netns]
|
||||
style = 'bold yellow'
|
||||
symbol = '🌐 '
|
||||
```
|
||||
|
||||
## Nim
|
||||
|
||||
The `nim` module shows the currently installed version of [Nim](https://nim-lang.org/). Secara bawaan, modul akan aktif jika beberapa syarat berikut telah terpenuhi:
|
||||
|
Loading…
Reference in New Issue
Block a user