mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
7a5823fd60
darcs-hash:20060919145203-ac50b-bc87b8f5e6a18395e4bc3e364da4a40ad97850e7.gz
19 lines
513 B
Text
19 lines
513 B
Text
\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>
|
|
|