1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-06-07 19:10:47 +00:00
starship/src/init/starship.nu
2021-07-04 15:32:58 -04:00

9 lines
229 B
Plaintext

let-env STARSHIP_SHELL = "nu"
let-env STARSHIP_SESSION = (random chars -l 16)
def starship_prompt [] {
# jobs are not supported
# status is not supported
^::STARSHIP:: prompt --cmd-duration $nu.env.CMD_DURATION_MS
}