docs(config): Clarify the changing starship config (#2339)

Have clarified changing the starship config file using the
`STARSHIP_CONFIG` env var.
This commit is contained in:
Thomas O'Donnell 2021-02-21 10:02:41 +01:00 committed by GitHub
parent 71b6fc1777
commit eaf9868c11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -21,16 +21,16 @@ success_symbol = "[➜](bold green)" # The "success_symbol" segment is being
disabled = true
```
You can change default `starship.toml` file location with `STARSHIP_CONFIG` environment variable:
You can change default configuration file location with `STARSHIP_CONFIG` environment variable:
```sh
export STARSHIP_CONFIG=~/.starship
export STARSHIP_CONFIG=~/.starship/config.toml
```
Equivalently in PowerShell (Windows) would be adding this line to your `$PROFILE`:
```powershell
$ENV:STARSHIP_CONFIG = "$HOME\.starship"
$ENV:STARSHIP_CONFIG = "$HOME\.starship\config.toml"
```
### Logging