Open Lupus47 opened 1 month ago
$ENV:STARSHIP_CONFIG = "$HOME\nickt\.config\starship.toml"
seems unusual. If nickt
is your username, it should already be included in $HOME
.
Please confirm that the correct starship config file is picked up by opening it via starship config
, or consulting the starship output when $ENV:STARSHIP_LOG='trace'
.
In addition, Enable-TransientPrompt
is only possible after starship is sourced.
The $HOME issue fixed it. Also how exactly do I source starship to enable transient prompt?
Like this, just swapping the statements around:
Invoke-Expression (&starship init powershell)
Enable-TransientPrompt
Thanks!
Current Behavior
The prompt will not update when changes are made to the starship.toml file, and the default prompt is used.
Expected Behavior
The prompt to update when I save the starship.toml file and reload the $PROFILE or open a new PowerShell Tab in Windows Terminal.
Additional context/Screenshots
Possible Solution
Environment
Relevant Shell Configuration
Starship Configuration