starship/src
Denis Cornehl c63e9a71bd
perf(rust): additionally check rustup default for faster result. (#3354)
* perf(rust): additionally check `rustup default` for faster result.

After checking directory overrides we were directly falling back to the
relatively slow call to `rustc --version`.

Inserting a call to `rustup default` leads to a quicker response.

* use `context.exec_cmd` instead of `create_command`
2021-12-28 21:10:49 +01:00
..
configs feat(azure): Azure module (#3275) 2021-12-06 23:01:33 +01:00
formatter fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
init fix: Store $? and $LASTEXITCODE first in PowerShell (#3316) 2021-12-13 10:15:02 +01:00
modules perf(rust): additionally check rustup default for faster result. (#3354) 2021-12-28 21:10:49 +01:00
test fix: only print root level config logs a single time (#3132) 2021-10-27 15:13:17 +02:00
bug_report.rs fix(clippy): fix new clippy lints (#2939) 2021-07-29 14:27:46 -04:00
config.rs fix: only print root level config logs a single time (#3132) 2021-10-27 15:13:17 +02:00
configure.rs feat: print-config subset of config (#3179) 2021-11-15 06:45:19 +01:00
context.rs fix: set cwd for command execution (#3309) 2021-12-27 23:56:06 -06:00
lib.rs fix(windows): avoid inadvertly running exes from cwd (#2885) 2021-07-16 15:20:59 -04:00
logger.rs fix(clippy): fix new clippy lints (#2939) 2021-07-29 14:27:46 -04:00
main.rs feat: print-config subset of config (#3179) 2021-11-15 06:45:19 +01:00
module.rs feat(azure): Azure module (#3275) 2021-12-06 23:01:33 +01:00
print.rs fix(escaping): move escaping to individual variables (#3107) 2021-11-01 22:18:45 +01:00
segment.rs feat: Add a fill module to pad out the line (#3029) 2021-09-12 19:59:15 -04:00
utils.rs fix: set cwd for command execution (#3309) 2021-12-27 23:56:06 -06:00