mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 14:24:35 +08:00
cf9b8fa3fa
This allows us to use :ref: references, which don't require hardcoding it as html [ci skip]
20 lines
557 B
ReStructuredText
20 lines
557 B
ReStructuredText
.. _cmd-suspend:
|
|
|
|
suspend - suspend the current shell
|
|
===================================
|
|
|
|
Synopsis
|
|
--------
|
|
|
|
suspend [--force]
|
|
|
|
|
|
Description
|
|
-----------
|
|
|
|
``suspend`` suspends execution of the current shell by sending it a
|
|
SIGTSTP signal, returning to the controlling process. It can be
|
|
resumed later by sending it a SIGCONT. In order to prevent suspending
|
|
a shell that doesn't have a controlling process, it will not suspend
|
|
the shell if it is a login shell. This requirement is bypassed
|
|
if the ``--force`` option is given or the shell is not interactive. |