mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 20:35:34 +02:00
set: add -e example (#7090)
This commit is contained in:
parent
c308f2bca2
commit
f00f1ac7b6
1 changed files with 4 additions and 0 deletions
|
@ -17,3 +17,7 @@
|
||||||
- Set various options, e.g. enable `vi` style line editing:
|
- Set various options, e.g. enable `vi` style line editing:
|
||||||
|
|
||||||
`set -o {{vi}}`
|
`set -o {{vi}}`
|
||||||
|
|
||||||
|
- Set the shell to exit as soon as the first error is encountered (mostly used in scripts):
|
||||||
|
|
||||||
|
`set -e`
|
||||||
|
|
Loading…
Add table
Reference in a new issue