mirror of
https://github.com/starship/starship.git
synced 2025-03-29 00:46:11 +01:00
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:
parent
71b6fc1777
commit
eaf9868c11
@ -21,16 +21,16 @@ success_symbol = "[➜](bold green)" # The "success_symbol" segment is being
|
|||||||
disabled = true
|
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
|
```sh
|
||||||
export STARSHIP_CONFIG=~/.starship
|
export STARSHIP_CONFIG=~/.starship/config.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
Equivalently in PowerShell (Windows) would be adding this line to your `$PROFILE`:
|
Equivalently in PowerShell (Windows) would be adding this line to your `$PROFILE`:
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
$ENV:STARSHIP_CONFIG = "$HOME\.starship"
|
$ENV:STARSHIP_CONFIG = "$HOME\.starship\config.toml"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Logging
|
### Logging
|
||||||
|
Loading…
Reference in New Issue
Block a user