mirror of
https://github.com/nushell/nushell.git
synced 2024-11-25 18:03:51 +01:00
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
|
# Return the current working directory
|
||||||
export def pwd [] {
|
export def pwd [] {
|
||||||
$env.PWD
|
$env.PWD
|
||||||
|
Loading…
Reference in New Issue
Block a user