Skip to content

v4.9.0: Truncate prompt current_directory and title to keep last components

Compare
Choose a tag to compare
@edouard-lopez edouard-lopez released this 23 Jan 11:04
· 45 commits to master since this release

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

image

馃獰 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