summaryrefslogtreecommitdiffstats
path: root/src/init
diff options
context:
space:
mode:
authorTilmann Meyer <allescrafterx@gmail.com>2020-09-30 18:14:10 +0200
committerGitHub <noreply@github.com>2020-09-30 12:14:10 -0400
commit2650dc8f3f3be42dec1679df6548ff6b7afd1e88 (patch)
tree0f1d41a9f89eccd63a537e5c3ad54c18355bddd0 /src/init
parent645124cfa5cecf6378762913ec24118bdccd3680 (diff)
fix(powershell): fix session key syntax error (#1697)
Diffstat (limited to 'src/init')
-rw-r--r--src/init/starship.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init/starship.ps1 b/src/init/starship.ps1
index 74c8f952f..f96b67d2b 100644
--- a/src/init/starship.ps1
+++ b/src/init/starship.ps1
@@ -56,4 +56,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 = (& ::STARSHIP:: session)