mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 21:21:15 -03:00
Fix command section separator line lengths
This commit is contained in:
@@ -8,14 +8,14 @@ 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.
|
||||
|
||||
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
|
||||
------------
|
||||
--------
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user