From 0d573ac5ea5063a0a488879be92f912fcb5b541c Mon Sep 17 00:00:00 2001 From: moko256 Date: Fri, 21 Jan 2022 16:08:14 +0900 Subject: [PATCH] perf(elvish): Use built-in `randint` instead of `starship session`. (#3479) --- src/init/starship.elv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init/starship.elv b/src/init/starship.elv index 3b0234878..69d5adf71 100644 --- a/src/init/starship.elv +++ b/src/init/starship.elv @@ -1,5 +1,5 @@ set-env STARSHIP_SHELL "elvish" -set-env STARSHIP_SESSION_KEY (::STARSHIP:: session) +set-env STARSHIP_SESSION_KEY (to-string (randint 10000000000000 10000000000000000)) # Define Hooks var cmd-status-code = 0