Added nushell support
This commit is contained in:
parent
e311649a48
commit
673f231c42
2
utils.go
2
utils.go
@ -226,6 +226,8 @@ func GetShell() string {
|
||||
return "Zsh " + runCommand("$SHELL --version | awk '{print $2}'")
|
||||
case "fish":
|
||||
return "Fish " + runCommand("$SHELL --version | awk '{print $3}'")
|
||||
case "nu":
|
||||
return "Nushell " + runCommand("$SHELL --version")
|
||||
default:
|
||||
return "Unknown"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user