mirror of
https://github.com/starship/starship.git
synced 2025-03-13 06:49:28 +01:00
New translations readme.md (Norwegian)
This commit is contained in:
parent
0e58408070
commit
be8d774e16
@ -339,6 +339,7 @@ $time\
|
|||||||
$status\
|
$status\
|
||||||
$os\
|
$os\
|
||||||
$container\
|
$container\
|
||||||
|
$netns\
|
||||||
$shell\
|
$shell\
|
||||||
$character"""
|
$character"""
|
||||||
```
|
```
|
||||||
@ -2881,6 +2882,37 @@ format = '[$symbol]($style)'
|
|||||||
style = 'bold purple'
|
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 | Default | Description |
|
||||||
|
| ---------- | --------------------------------- | ----------------------------------------------------------------- |
|
||||||
|
| `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 | Example | Description |
|
||||||
|
| --------- | ---------- | ----------------------------------------- |
|
||||||
|
| name | `my-netns` | The name of the current network namespace |
|
||||||
|
| symbol | | Mirrors the value of option `symbol` |
|
||||||
|
| style\* | | Mirrors the value of option `style` |
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
|
||||||
|
[netns]
|
||||||
|
style = 'bold yellow'
|
||||||
|
symbol = '🌐 '
|
||||||
|
```
|
||||||
|
|
||||||
## Nim
|
## 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:
|
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user