From 482d8ca31bb2d4c09e8e81e05e146560b93a0c5b Mon Sep 17 00:00:00 2001 From: Matan Kushner Date: Mon, 10 Mar 2025 00:54:09 +0900 Subject: [PATCH] New translations readme.md (Arabic) --- docs/ar-SA/config/README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/docs/ar-SA/config/README.md b/docs/ar-SA/config/README.md index 3cc67590b..d0ba62818 100644 --- a/docs/ar-SA/config/README.md +++ b/docs/ar-SA/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. + +### Options + +| Option | الافتراضي | الوصف | +| ---------- | --------------------------------- | ----------------------------------------------------------------- | +| `format` | `'[$symbol \[$name\]]($style)'` | The format for the module. | +| `symbol` | `'🛜 '` | The symbol used before the network namespace (defaults to empty). | +| `style` | `'blue bold dimmed'` | The style for the module. | +| `disabled` | `false` | Disables the `netns` module. | + +### Variables + +| Variable | مثال | الوصف | +| --------- | ---------- | ----------------------------------------- | +| name | `my-netns` | The name of the current network namespace | +| symbol | | Mirrors the value of option `symbol` | +| style\* | | Mirrors the value of option `style` | + +### مثال + +```toml +# ~/.config/starship.toml + +[netns] +style = 'bold yellow' +symbol = '🌐 ' +``` + ## Nim The `nim` module shows the currently installed version of [Nim](https://nim-lang.org/). By default the module will be shown if any of the following conditions are met: