mirror of
https://github.com/Llewellynvdm/starship.git
synced 2025-02-05 05:28:29 +00:00
New translations README.md (Indonesian)
This commit is contained in:
parent
979dad6b94
commit
d62df94232
@ -2143,14 +2143,15 @@ The `hostname` module shows the system hostname.
|
|||||||
|
|
||||||
### Opsi
|
### Opsi
|
||||||
|
|
||||||
| Opsi | Bawaan | Deskripsi |
|
| Opsi | Bawaan | Deskripsi |
|
||||||
| ------------ | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
|
| ----------------- | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `ssh_only` | `true` | Only show hostname when connected to an SSH session. |
|
| `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. |
|
| `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 |
|
| `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. |
|
| `detect_env_vars` | `[]` | Which environment variable(s) should trigger this module. |
|
||||||
| `style` | `'bold dimmed green'` | Gaya penataan untuk modul. |
|
| `fromat` | `'[$ssh_symbol$hostname]($style) in '` | Format dari modul. |
|
||||||
| `disabled` | `false` | Disables the `hostname` module. |
|
| `style` | `'bold dimmed green'` | Gaya penataan untuk modul. |
|
||||||
|
| `disabled` | `false` | Disables the `hostname` module. |
|
||||||
|
|
||||||
### Variabel
|
### Variabel
|
||||||
|
|
||||||
@ -2164,6 +2165,8 @@ The `hostname` module shows the system hostname.
|
|||||||
|
|
||||||
### Contoh
|
### Contoh
|
||||||
|
|
||||||
|
#### Always show the hostname
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
# ~/.config/starship.toml
|
# ~/.config/starship.toml
|
||||||
|
|
||||||
@ -2174,6 +2177,17 @@ trim_at = '.companyname.com'
|
|||||||
disabled = false
|
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
|
## 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:
|
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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user