perf(elvish): Use built-in randint instead of starship session. (#3479)

This commit is contained in:
moko256 2022-01-21 16:08:14 +09:00 committed by GitHub
parent 0965667807
commit 0d573ac5ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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