mirror of
https://github.com/starship/starship.git
synced 2026-06-24 02:01:36 +07:00
feat: add support for nu shell (#2847)
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user