mirror of
https://github.com/starship/starship.git
synced 2025-03-16 00:08:58 +01:00
New translations readme.md (Vietnamese)
This commit is contained in:
parent
d8d00f2c36
commit
5a44f53919
@ -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.
|
||||||
|
|
||||||
|
### Các tuỳ chọn
|
||||||
|
|
||||||
|
| Tuỳ chọn | Mặc định | Mô tả |
|
||||||
|
| ---------- | --------------------------------- | ----------------------------------------------------------------- |
|
||||||
|
| `format` | `'[$symbol \[$name\]]($style)'` | Định dạng cho module. |
|
||||||
|
| `symbol` | `'🛜 '` | The symbol used before the network namespace (defaults to empty). |
|
||||||
|
| `style` | `'blue bold dimmed'` | Kiểu cho module. |
|
||||||
|
| `disabled` | `false` | Disables the `netns` module. |
|
||||||
|
|
||||||
|
### Các biến
|
||||||
|
|
||||||
|
| Biến | Ví dụ | Mô tả |
|
||||||
|
| --------- | ---------- | ----------------------------------------- |
|
||||||
|
| name | `my-netns` | The name of the current network namespace |
|
||||||
|
| symbol | | Giá trị ghi đè tuỳ chọn `symbol` |
|
||||||
|
| style\* | | Giá trị ghi đè của `style` |
|
||||||
|
|
||||||
|
### Ví dụ
|
||||||
|
|
||||||
|
```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/). Mặc định module sẽ được hiển thị nếu có bất kì điều kiện nào dưới đây thoả mãn:
|
The `nim` module shows the currently installed version of [Nim](https://nim-lang.org/). Mặc định module sẽ được hiển thị nếu có bất kì điều kiện nào dưới đây thoả mãn:
|
||||||
|
Loading…
Reference in New Issue
Block a user