From 36d481fa58efcc24d2fe8d2bd4f07f24eaec6c8b Mon Sep 17 00:00:00 2001 From: Emily Grace Seville Date: Mon, 25 Apr 2022 07:07:47 +1000 Subject: [PATCH] elvish: refresh (#7989) --- pages/common/elvish.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pages/common/elvish.md b/pages/common/elvish.md index 850d0b08bf..738be5eb71 100644 --- a/pages/common/elvish.md +++ b/pages/common/elvish.md @@ -1,20 +1,17 @@ # elvish > Expressive programming language and a versatile interactive shell. +> See also: `nu`. > More information: . - Start an interactive shell session: `elvish` -- Execute a [c]ommand and then exit: +- Execute specific [c]ommands: -`elvish -c "{{command}}"` +`elvish -c "{{echo 'elvish is executed'}}"` -- Execute a script and then exit: +- Execute a specific script: `elvish {{path/to/script.elv}}` - -- Print the Elvish version and then exit: - -`elvish -version`