What's Changed
- feat: truncate prompt current_directory and title to keep last components by @edouard-lopez in #337
Config
💻 Prompt shortening
Option |
Default |
Description |
pure_truncate_prompt_current_directory_keeps |
0 |
Truncate working directory path in prompt, but keeps the last to n components (0 full path in current directory) |
set --universal pure_truncate_prompt_current_directory_keeps 2

🪟 Window's title shortening
Option |
Default |
Description |
pure_truncate_window_title_current_directory_keeps |
0 |
Truncate working directory path in window title, but keeps the last to n components (0 keep full path in window title) |
set --universal pure_truncate_window_title_current_directory_keeps 2
👏 Thanks
Full Changelog: v4.8.3...v4.9.0