1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-12 14:17:45 +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:
Neil Prockter 2024-07-29 18:16:06 +01:00 committed by GitHub
parent 7b7e1152b4
commit d96fbc5bcb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4550,7 +4550,7 @@ these variables, one workaround is to set one of them with a dummy value.
### Example ### Example
#### Always show the hostname #### Always show the username
```toml ```toml
# ~/.config/starship.toml # ~/.config/starship.toml
@ -4564,17 +4564,6 @@ show_always = true
aliases = { "corpuser034g" = "matchai" } 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 ## Vagrant
The `vagrant` module shows the currently installed version of [Vagrant](https://www.vagrantup.com/). The `vagrant` module shows the currently installed version of [Vagrant](https://www.vagrantup.com/).