aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/fallback.h
diff options
context:
space:
mode:
authorGravatar Gary Peck <gary+github@realify.com>2015-10-09 15:37:43 -0700
committerGravatar Fabian Homborg <FHomborg@gmail.com>2015-10-26 13:11:13 +0100
commit09bd938e252fd983fb93a50e5c177b4a41642ce0 (patch)
tree3ca41b36b80098fff80891308764e581e63fbad7 /src/fallback.h
parentd5f3a09ce932779346d521afe1ba0ffdcb1cbfa9 (diff)
Add ability to customize the amount of path shortening in prompt_pwd
Allows the length of each shortened path component to be customized by setting the `fish_prompt_pwd_dir_length` variable to the number of characters to include (plus a leading dot because that's special). Maintains the default behavior of shortening path components to just one character. You can also set `fish_prompt_pwd_dir_length` to an empty or invalid value or 0 to disable shortening completely.
Diffstat (limited to 'src/fallback.h')
0 files changed, 0 insertions, 0 deletions