forked from extern/nushell
add Ellie to the standard library (#10686)
the other day i heard the story of our friend Ellie the elephant and i
couldn't resist adding it as a command to the standard library 😊
This commit is contained in:
parent
814a5caf9a
commit
4be7004289
@ -290,6 +290,18 @@ Startup Time: ($nu.startup-time)
|
||||
"
|
||||
}
|
||||
|
||||
# the cute and friendly mascot of Nushell :)
|
||||
export def ellie [] {
|
||||
let ellie = [
|
||||
" __ ,",
|
||||
" .--()°'.'",
|
||||
"'|, . ,'",
|
||||
" !_-(_\\",
|
||||
]
|
||||
|
||||
$ellie | str join "\n" | $"(ansi green)($in)(ansi reset)"
|
||||
}
|
||||
|
||||
# Return the current working directory
|
||||
export def pwd [] {
|
||||
$env.PWD
|
||||
|
Loading…
Reference in New Issue
Block a user