mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-04 19:03:38 +00:00
fix(docs): correct username options (#6084)
correct username options These seem to have been copied from hostname and did not make sense
This commit is contained in:
parent
7b7e1152b4
commit
d96fbc5bcb
@ -4550,7 +4550,7 @@ these variables, one workaround is to set one of them with a dummy value.
|
||||
|
||||
### Example
|
||||
|
||||
#### Always show the hostname
|
||||
#### Always show the username
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
@ -4564,17 +4564,6 @@ show_always = true
|
||||
aliases = { "corpuser034g" = "matchai" }
|
||||
```
|
||||
|
||||
#### Hide the hostname in remote tmux sessions
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
|
||||
[hostname]
|
||||
ssh_only = false
|
||||
detect_env_vars = ['!TMUX', 'SSH_CONNECTION']
|
||||
disabled = false
|
||||
```
|
||||
|
||||
## Vagrant
|
||||
|
||||
The `vagrant` module shows the currently installed version of [Vagrant](https://www.vagrantup.com/).
|
||||
|
Loading…
Reference in New Issue
Block a user