starship/tests/testsuite
Titouan Vervack 59e8b1fc92 feat: added truncation_length/symbol to git_branch (#268)
Git branches can become very long (e.g. gitlab auto-generated branch
names), thus it would be nice to be able to truncate them to keep your
prompt lenght in line.

This patch adds two new options to the git_branch module:
* truncation_length: The amount of graphemes to of a gitbranch to
truncate to
* truncation_symbol: The symbol that should be used to indicate that a
branch name was trunctated

To be able to correctly work with UTF-8 graphemes, unicode-segmentation
was added as a dependency.
2019-09-02 15:56:59 -04:00
..
character.rs Support vicmd_symbol in fish-shell (#254) 2019-08-31 00:59:18 -07:00
cmd_duration.rs fix: Fix issues with nodejs and golang configuration (#146) 2019-08-13 12:30:59 -04:00
common.rs feat: Add configuration for add_newline (#116) 2019-07-27 18:25:13 -04:00
configuration.rs feat: Add configuration for add_newline (#116) 2019-07-27 18:25:13 -04:00
directory.rs feat: Add ability to use an alternate directory truncation style (#239) 2019-08-26 21:52:45 -04:00
git_branch.rs feat: added truncation_length/symbol to git_branch (#268) 2019-09-02 15:56:59 -04:00
git_status.rs feat: Add commit count for ahead/behind symbols (#247) 2019-08-27 20:11:42 -07:00
golang.rs fix: Fix issues with nodejs and golang configuration (#146) 2019-08-13 12:30:59 -04:00
jobs.rs feat: Implement the prompt module for jobs (#85) 2019-08-12 13:42:33 -04:00
line_break.rs Refactor integration tests (#71) 2019-06-06 13:18:00 +01:00
main.rs feat: added truncation_length/symbol to git_branch (#268) 2019-09-02 15:56:59 -04:00
modules.rs fix: Change panicking on unknown module to error print and support module listing flag (#197) 2019-08-20 00:42:25 -04:00
nix_shell.rs Add nix-shell support (#173) 2019-08-25 11:41:20 -04:00
nodejs.rs fix: Fix issues with nodejs and golang configuration (#146) 2019-08-13 12:30:59 -04:00
python.rs Add support for detecting Python from Pipenv files (#221) 2019-08-21 15:54:22 -07:00
ruby.rs fix: Don't run tests for ruby outside of the integration tests (#155) 2019-08-14 21:50:25 -04:00
username.rs feat: Add a `disabled` configuration option for modules (#86) 2019-07-02 16:12:53 -04:00