1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-26 19:40:20 +00:00

docs: Updated config with a tip for PowerShell user (#1216)

Added a tip with information about how a PowerShell user can
override default starship.toml file location path in his PowerShell
profile.
This commit is contained in:
Matt Kadlubowski 2020-05-21 17:22:45 +01:00 committed by GitHub
parent 36d1ec734c
commit 1b2ea77b1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,11 @@ You can change default `starship.toml` file location with `STARSHIP_CONFIG` envi
export STARSHIP_CONFIG=~/.starship
```
Equivalently in PowerShell (Windows) would be adding this line to your `$PROFILE`:
```ps1
$ENV:STARSHIP_CONFIG = "$HOME\.starship"
```
### Terminology
**Module**: A component in the prompt giving information based on contextual information from your OS. For example, the "nodejs" module shows the version of NodeJS that is currently installed on your computer, if your current directory is a NodeJS project.