mirror of
https://github.com/starship/starship.git
synced 2025-03-13 06:49:28 +01:00
New translations readme.md (German)
This commit is contained in:
parent
482d8ca31b
commit
13d1053ced
@ -340,6 +340,7 @@ $time\
|
||||
$status\
|
||||
$os\
|
||||
$container\
|
||||
$netns\
|
||||
$shell\
|
||||
$character"""
|
||||
```
|
||||
@ -2882,6 +2883,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.
|
||||
|
||||
### Optionen
|
||||
|
||||
| Option | Standartwert | Beschreibung |
|
||||
| ---------- | --------------------------------- | ----------------------------------------------------------------- |
|
||||
| `format` | `'[$symbol \[$name\]]($style)'` | Das Format für das Modul. |
|
||||
| `symbol` | `'🛜 '` | The symbol used before the network namespace (defaults to empty). |
|
||||
| `style` | `'blue bold dimmed'` | Stil für dieses Modul. |
|
||||
| `disabled` | `false` | Disables the `netns` module. |
|
||||
|
||||
### Variables
|
||||
|
||||
| Variable | Beispiel | Beschreibung |
|
||||
| --------- | ---------- | ----------------------------------------- |
|
||||
| name | `my-netns` | The name of the current network namespace |
|
||||
| symbol | | Spiegelt den Wert der Option `symbol` |
|
||||
| style\* | | Spiegelt den Wert der Option `style` |
|
||||
|
||||
### Beispiel
|
||||
|
||||
```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:
|
||||
|
Loading…
Reference in New Issue
Block a user