From c39c59899681180bcfc214ca35a1396547caf92f Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Fri, 30 Dec 2022 14:31:32 +0100 Subject: [PATCH] docs/prompt_pwd: Fix envvar linking --- doc_src/cmds/prompt_pwd.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc_src/cmds/prompt_pwd.rst b/doc_src/cmds/prompt_pwd.rst index c95259483..8aebe9ec0 100644 --- a/doc_src/cmds/prompt_pwd.rst +++ b/doc_src/cmds/prompt_pwd.rst @@ -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 -------