feat: add support for nu shell (#2847)

This commit is contained in:
David Knaack
2021-07-04 21:32:58 +02:00
committed by GitHub
parent 196cc8aa39
commit cea1a1ceb1
17 changed files with 119 additions and 28 deletions
+8
View File
@@ -0,0 +1,8 @@
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
}