diff --git a/docs/id-ID/config/README.md b/docs/id-ID/config/README.md index 55f35ab32..10644d84a 100644 --- a/docs/id-ID/config/README.md +++ b/docs/id-ID/config/README.md @@ -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: