mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-11 10:35:40 +02:00
elvish: refresh (#7989)
This commit is contained in:
parent
beff71015a
commit
36d481fa58
1 changed files with 4 additions and 7 deletions
|
@ -1,20 +1,17 @@
|
||||||
# elvish
|
# elvish
|
||||||
|
|
||||||
> Expressive programming language and a versatile interactive shell.
|
> Expressive programming language and a versatile interactive shell.
|
||||||
|
> See also: `nu`.
|
||||||
> More information: <https://elv.sh>.
|
> More information: <https://elv.sh>.
|
||||||
|
|
||||||
- Start an interactive shell session:
|
- Start an interactive shell session:
|
||||||
|
|
||||||
`elvish`
|
`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}}`
|
`elvish {{path/to/script.elv}}`
|
||||||
|
|
||||||
- Print the Elvish version and then exit:
|
|
||||||
|
|
||||||
`elvish -version`
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue