mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 21:21:15 -03:00
Make line length, wrapping and spacing consistent
This commit is contained in:
@@ -7,26 +7,23 @@ block [OPTIONS...]
|
||||
|
||||
\subsection block-description Description
|
||||
|
||||
`block` prevents events triggered by `fish` or the
|
||||
<a href="commands.html#emit">`emit`</a> command from
|
||||
being delivered and acted upon while the block is in place.
|
||||
`block` prevents events triggered by `fish` or the <a href="commands.html#emit">`emit`</a> command from being delivered and acted upon while the block is in place.
|
||||
|
||||
In functions, `block` can be useful while performing work that
|
||||
should not be interrupted by the shell.
|
||||
In functions, `block` can be useful while performing work that should not be interrupted by the shell.
|
||||
|
||||
The block can be removed. Any events which triggered while the
|
||||
block was in place will then be delivered.
|
||||
The block can be removed. Any events which triggered while the block was in place will then be delivered.
|
||||
|
||||
Event blocks should not be confused with code blocks, which are created
|
||||
with `begin`, `if`, `while` or
|
||||
`for`
|
||||
Event blocks should not be confused with code blocks, which are created with `begin`, `if`, `while` or `for`
|
||||
|
||||
The following parameters are available:
|
||||
|
||||
- `-l` or `--local` Release the block automatically at the end of the current innermost code block scope
|
||||
|
||||
- `-g` or `--global` Never automatically release the lock
|
||||
|
||||
- `-e` or `--erase` Release global block
|
||||
|
||||
|
||||
\subsection block-example Example
|
||||
|
||||
\fish
|
||||
|
||||
Reference in New Issue
Block a user