docs/prompt_pwd: Fix envvar linking

This commit is contained in:
Fabian Boehm 2022-12-30 14:31:32 +01:00
parent d14f39e583
commit c39c598996

View file

@ -17,9 +17,9 @@ Description
To change the number of characters per path component, pass ``--dir-length=`` or set :envvar:`fish_prompt_pwd_dir_length` to the number of characters. Setting it to 0 or an invalid value will disable shortening entirely. This defaults to 1.
To keep some components unshortened, pass ``--full-length-dirs=`` or set :envvar:`$fish_prompt_pwd_full_dirs` to the number of components. This defaults to 1, keeping the last component.
To keep some components unshortened, pass ``--full-length-dirs=`` or set :envvar:`fish_prompt_pwd_full_dirs` to the number of components. This defaults to 1, keeping the last component.
If any positional arguments are given, ``prompt_pwd`` shortens them instead of $PWD.
If any positional arguments are given, ``prompt_pwd`` shortens them instead of :envvar:`PWD`.
Options
-------