starship/src
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
..
modules feat: added truncation_length/symbol to git_branch (#268) 2019-09-02 15:56:59 -04:00
config.rs Fix typo in comment (#260) 2019-08-29 12:40:25 -04:00
context.rs fix a few typos (#178) 2019-08-17 20:50:42 -07:00
init.rs Support vicmd_symbol in fish-shell (#254) 2019-08-31 00:59:18 -07:00
lib.rs Add support for prompt configuration (#62) 2019-06-10 15:56:17 +01:00
main.rs Support vicmd_symbol in fish-shell (#254) 2019-08-31 00:59:18 -07:00
module.rs fix: Adds nix_shell to module::ALL_MODULES (#264) 2019-08-30 09:39:21 -04:00
print.rs make the battery module optional for now (#234) 2019-08-26 14:09:39 -04:00
segment.rs fix: Address longstanding linter errors 2019-08-05 11:05:08 -04:00
utils.rs Add support for prompt configuration (#62) 2019-06-10 15:56:17 +01:00