mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
docs/prompt_pwd: Fix envvar linking
This commit is contained in:
parent
d14f39e583
commit
c39c598996
1 changed files with 2 additions and 2 deletions
|
@ -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 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
|
Options
|
||||||
-------
|
-------
|
||||||
|
|
Loading…
Reference in a new issue