mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-24 11:41:15 -03:00
docs: fix formatting in prompt_pwd manual
This commit is contained in:
@@ -12,9 +12,9 @@ prompt_pwd
|
||||
Description
|
||||
-----------
|
||||
|
||||
prompt_pwd is a function to print the current working directory in a way suitable for prompts. It will replace the home directory with "~" and shorten every path component but the last to a default of one character.
|
||||
``prompt_pwd`` is a function to print the current working directory in a way suitable for prompts. It will replace the home directory with "~" and shorten every path component but the last to a default of one character.
|
||||
|
||||
To change the number of characters per path component, set $fish_prompt_pwd_dir_length to the number of characters. Setting it to 0 or an invalid value will disable shortening entirely.
|
||||
To change the number of characters per path component, set ``$fish_prompt_pwd_dir_length`` to the number of characters. Setting it to 0 or an invalid value will disable shortening entirely.
|
||||
|
||||
Examples
|
||||
--------
|
||||
|
||||
@@ -12,9 +12,4 @@ 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.
|
||||
``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.
|
||||
|
||||
Reference in New Issue
Block a user