diff --git a/src/init/starship.ps1 b/src/init/starship.ps1 index 77fe4290..9a731c6e 100644 --- a/src/init/starship.ps1 +++ b/src/init/starship.ps1 @@ -66,4 +66,4 @@ function global:prompt { $ENV:STARSHIP_SHELL = "powershell" # Set up the session key that will be used to store logs -$ENV:STARSHIP_SESSION_KEY = (& ::STARSHIP:: session) +$ENV:STARSHIP_SESSION_KEY = -join ((48..57) + (65..90) + (97..122) | Get-Random -Count 16 | ForEach-Object { [char]$_ })