mirror of
https://github.com/starship/starship.git
synced 2025-03-13 06:49:28 +01:00
New translations readme.md (French)
This commit is contained in:
parent
0d20fa0d7b
commit
65b979f207
@ -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 | Défaut | Description |
|
||||
| ---------- | --------------------------------- | ----------------------------------------------------------------- |
|
||||
| `format` | `'[$symbol \[$name\]]($style)'` | Format du module. |
|
||||
| `symbole` | `'🛜 '` | The symbol used before the network namespace (defaults to empty). |
|
||||
| `style` | `'blue bold dimmed'` | Le style pour le module. |
|
||||
| `disabled` | `false` | Disables the `netns` module. |
|
||||
|
||||
### Variables
|
||||
|
||||
| Variable | Exemple | Description |
|
||||
| --------- | ---------- | ----------------------------------------- |
|
||||
| name | `my-netns` | The name of the current network namespace |
|
||||
| symbole | | Reflète la valeur de l'option `symbol` |
|
||||
| style\* | | Reflète la valeur de l'option `style` |
|
||||
|
||||
### Exemple
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
|
||||
[netns]
|
||||
style = 'bold yellow'
|
||||
symbol = '🌐 '
|
||||
```
|
||||
|
||||
## Nim
|
||||
|
||||
Le module `nim` affiche la version de [Nim](https://nim-lang.org/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie:
|
||||
|
Loading…
Reference in New Issue
Block a user