mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 22:34:29 +08:00
885d16fcd6
darcs-hash:20061031152316-ac50b-e68db9853d6e9461a0c054f1ea290704ccfc0a31.gz
20 lines
513 B
Plaintext
20 lines
513 B
Plaintext
\section block block - temporarily block delivery of events
|
|
|
|
\subsection block-synopsis Synopsis
|
|
<tt>block [OPTIONS...]</tt>
|
|
|
|
\subsection block-description Description
|
|
|
|
- <tt>-l</tt> or <tt>--local</tt> Release the block at the end of the currently innermost block scope
|
|
- <tt>-g</tt> or <tt>--global</tt> Never automatically release the lock
|
|
- <tt>-e</tt> or <tt>--erase</tt> Release global block
|
|
|
|
\subsection block-example Example
|
|
|
|
<pre>
|
|
block -g
|
|
\#Do something that should not be interrupted
|
|
block -e
|
|
</pre>
|
|
|