1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-09-27 12:49:02 +00:00
starship/src
Moritz Vetter 4e7f73da50
perf(zig): Lazy eval zig (#2187)
* perf(zig): evaluate version lazily

* fix(zig): update format string; update tests

* refact(zig): remove redundant clone and put everything to do with version eval into match statement

* tiny optimization

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

Co-authored-by: Moritz Vetter <mv@3yourmind.com>
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2021-01-22 18:08:36 +01:00
..
configs perf(zig): Lazy eval zig (#2187) 2021-01-22 18:08:36 +01:00
formatter refactor: simplify StringFormatter::new 2021-01-22 11:50:12 -05:00
init feat: Add support for cygwin/msys2/git-bash evironment (#2020) 2021-01-07 19:13:57 +01:00
modules perf(zig): Lazy eval zig (#2187) 2021-01-22 18:08:36 +01:00
test test: enable logging in tests (#2151) 2021-01-16 13:25:58 +01:00
bug_report.rs test: avoid setting $HOME (#2155) 2021-01-19 23:23:27 +01:00
config.rs fix(config): log as error if failure to read config wasn't caused by NotFound (#1993) 2020-12-13 16:24:48 +01:00
configure.rs feat(command): add 'toggle' command (#1917) 2021-01-07 19:04:06 +01:00
context.rs refactor: apply more clippy lints 2021-01-22 11:50:12 -05:00
lib.rs chore: fix the double compiling of lib and bin (#1616) 2020-10-17 11:09:27 +02:00
logger.rs test: enable logging in tests (#2151) 2021-01-16 13:25:58 +01:00
main.rs feat(command): add 'toggle' command (#1917) 2021-01-07 19:04:06 +01:00
module.rs feat(kotlin): Add the kotlin module (#2026) 2020-12-26 15:26:50 +01:00
print.rs refactor: simplify print::handle_module 2021-01-22 11:50:12 -05:00
segment.rs chore: remove unused name from Segment and remove some of the misleading underscores (#1584) 2020-08-16 22:16:05 -04:00
utils.rs perf(utils): Add timeout to utils::exec_cmd (#2171) 2021-01-21 22:59:14 +01:00