1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-09-28 05:09:01 +00:00

New translations README.md (Indonesian)

This commit is contained in:
Matan Kushner 2023-09-16 15:59:35 +01:00
parent 979dad6b94
commit d62df94232

View File

@ -2143,14 +2143,15 @@ The `hostname` module shows the system hostname.
### Opsi
| Opsi | Bawaan | Deskripsi |
| ------------ | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| `ssh_only` | `true` | Only show hostname when connected to an SSH session. |
| `ssh_symbol` | `'🌐 '` | A format string representing the symbol when connected to SSH session. |
| `trim_at` | `'.'` | String that the hostname is cut off at, after the first match. `'.'` will stop after the first dot. `''` will disable any truncation |
| `fromat` | `'[$ssh_symbol$hostname]($style) in '` | Format dari modul. |
| `style` | `'bold dimmed green'` | Gaya penataan untuk modul. |
| `disabled` | `false` | Disables the `hostname` module. |
| Opsi | Bawaan | Deskripsi |
| ----------------- | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| `ssh_only` | `true` | Only show hostname when connected to an SSH session. |
| `ssh_symbol` | `'🌐 '` | A format string representing the symbol when connected to SSH session. |
| `trim_at` | `'.'` | String that the hostname is cut off at, after the first match. `'.'` will stop after the first dot. `''` will disable any truncation. |
| `detect_env_vars` | `[]` | Which environment variable(s) should trigger this module. |
| `fromat` | `'[$ssh_symbol$hostname]($style) in '` | Format dari modul. |
| `style` | `'bold dimmed green'` | Gaya penataan untuk modul. |
| `disabled` | `false` | Disables the `hostname` module. |
### Variabel
@ -2164,6 +2165,8 @@ The `hostname` module shows the system hostname.
### Contoh
#### Always show the hostname
```toml
# ~/.config/starship.toml
@ -2174,6 +2177,17 @@ trim_at = '.companyname.com'
disabled = false
```
#### Hide the hostname in remote tmux sessions
```toml
# ~/.config/starship.toml
[hostname]
ssh_only = false
detect_env_vars = ['!TMUX', 'SSH_CONNECTION']
disabled = false
```
## Java
The `java` module shows the currently installed version of [Java](https://www.oracle.com/java/). Secara bawaan, modul akan aktif jika beberapa syarat berikut telah terpenuhi: