1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-05 12:57:50 +00:00

perf(init): Prefer set -x over export for fish users (#2292)

This commit is contained in:
Michael Sanders 2021-02-14 09:15:05 -08:00 committed by GitHub
parent 81d6f6aa98
commit 19461a0694
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ end
set VIRTUAL_ENV_DISABLE_PROMPT 1
function fish_mode_prompt; end
export STARSHIP_SHELL="fish"
set -gx STARSHIP_SHELL="fish"
# Set up the session key that will be used to store logs
export STARSHIP_SESSION_KEY=(random 10000000000000 9999999999999999)
set -gx STARSHIP_SESSION_KEY=(random 10000000000000 9999999999999999)