From 360c7942f655a4de480634cc430d45c6dd57f875 Mon Sep 17 00:00:00 2001 From: "Jyotirmoy Bandyopadhyaya [Bravo68]" Date: Sat, 15 Jan 2022 16:05:55 +0530 Subject: [PATCH] docs: Fixed starship config location (#3432) * Fixed starship config location config file during creation and when used as export variable into shells are different. Fixed to make it uniform and avoid errors * Update README.md * Update docs/config/README.md Co-authored-by: Thomas O'Donnell * Update docs/config/README.md Co-authored-by: Thomas O'Donnell * Update docs/config/README.md Co-authored-by: Thomas O'Donnell Co-authored-by: Thomas O'Donnell --- docs/config/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/config/README.md b/docs/config/README.md index 8afc5b5b..e9bd3e6c 100644 --- a/docs/config/README.md +++ b/docs/config/README.md @@ -24,19 +24,19 @@ disabled = true You can change default configuration file location with `STARSHIP_CONFIG` environment variable: ```sh -export STARSHIP_CONFIG=~/.starship/config.toml +export STARSHIP_CONFIG=~/example/non/default/path/starship.toml ``` Equivalently in PowerShell (Windows) would be adding this line to your `$PROFILE`: ```powershell -$ENV:STARSHIP_CONFIG = "$HOME\.starship\config.toml" +$ENV:STARSHIP_CONFIG = "$HOME\example\non\default\path\starship.toml" ``` Or for Cmd (Windows) would be adding this line to your `starship.lua`: ```lua -os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\.starship\\config.toml') +os.setenv('STARSHIP_CONFIG', 'C:\\Users\\user\\example\\non\\default\\path\\starship.toml') ``` ### Logging