From 4be7004289eaef433791c082cc22ff9d2812c59f Mon Sep 17 00:00:00 2001 From: Antoine Stevan <44101798+amtoine@users.noreply.github.com> Date: Wed, 11 Oct 2023 18:36:16 +0200 Subject: [PATCH] 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 :blush: --- crates/nu-std/std/mod.nu | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/crates/nu-std/std/mod.nu b/crates/nu-std/std/mod.nu index 51b44953f..29f486bdd 100644 --- a/crates/nu-std/std/mod.nu +++ b/crates/nu-std/std/mod.nu @@ -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