1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-16 01:57:07 +00:00
starship/src/modules
Moritz Vetter e437a463ac
perf(python): Lazy eval of python version command (#2158)
* perf(python): evaluate version lazily

* fix(python): update format string

* fix: use suggested format strings

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>

Co-authored-by: Moritz Vetter <mv@3yourmind.com>
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2021-01-20 18:42:55 +01:00
..
utils fix: apply nightly clippy & fmt suggestions (#1922) 2020-11-23 20:38:11 +01:00
aws.rs test: avoid setting $HOME (#2155) 2021-01-19 23:23:27 +01:00
battery.rs feat(battery): make module behaviour more obvious (#1950) 2021-01-01 12:16:55 +01:00
character.rs fix: Applied clippy warnings (#2153) 2021-01-16 13:26:52 +01:00
cmake.rs fix(cmake): Fix spacing with missing variable (#2135) 2021-01-16 13:27:02 +01:00
cmd_duration.rs style: Latest clippy suggestions (#2048) 2021-01-01 12:45:04 -06:00
conda.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
crystal.rs perf(crystal): Lazily evaluate version command (#2129) 2021-01-13 18:35:44 +01:00
custom.rs feat: Add timings subcommand (#1629) 2020-09-21 19:06:15 +02:00
dart.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
directory.rs test: avoid setting $HOME (#2155) 2021-01-19 23:23:27 +01:00
docker_context.rs test: avoid setting $HOME (#2155) 2021-01-19 23:23:27 +01:00
dotnet.rs fix: Applied clippy warnings (#2153) 2021-01-16 13:26:52 +01:00
elixir.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
elm.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
env_var.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
erlang.rs fix: replace emoji for cmake and erlang (#1787) 2020-10-13 18:01:35 -04:00
gcloud.rs test: avoid setting $HOME (#2155) 2021-01-19 23:23:27 +01:00
git_branch.rs refactor: a few low-hanging optimizations (#1992) 2020-12-16 17:54:21 +01:00
git_commit.rs fix(git_commit): show last created tag on current commit (#1919) 2020-12-07 14:56:22 +01:00
git_state.rs fix: Applied clippy warnings (#2153) 2021-01-16 13:26:52 +01:00
git_status.rs perf(git_status): Improved git_status module performance (#1777) 2020-10-14 12:12:41 -04:00
golang.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
helm.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
hg_branch.rs feat: add error messaging (#1576) 2020-09-28 16:38:50 -04:00
hostname.rs fix: apply nightly clippy & fmt suggestions (#1922) 2020-11-23 20:38:11 +01:00
java.rs feat(java): Show Java module for Clojure projects (#966) 2020-11-30 13:50:56 +01:00
jobs.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
julia.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
kotlin.rs feat(kotlin): Add the kotlin module (#2026) 2020-12-26 15:26:50 +01:00
kubernetes.rs test: avoid setting $HOME (#2155) 2021-01-19 23:23:27 +01:00
line_break.rs feat: Add timings subcommand (#1629) 2020-09-21 19:06:15 +02:00
lua.rs feat(lua): Add a Lua module (#1815) 2020-10-27 19:05:20 +01:00
memory_usage.rs perf(memory_usage): replace sysinfo with sys-info (#1886) 2020-11-23 21:17:15 -05:00
mod.rs feat(kotlin): Add the kotlin module (#2026) 2020-12-26 15:26:50 +01:00
nim.rs fix: apply nightly clippy & fmt suggestions (#1922) 2020-11-23 20:38:11 +01:00
nix_shell.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
nodejs.rs fix: Applied clippy warnings (#2153) 2021-01-16 13:26:52 +01:00
ocaml.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
openstack.rs test: avoid setting $HOME (#2155) 2021-01-19 23:23:27 +01:00
package.rs fix: Applied clippy warnings (#2153) 2021-01-16 13:26:52 +01:00
perl.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
php.rs fix: Applied clippy warnings (#2153) 2021-01-16 13:26:52 +01:00
purescript.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
python.rs perf(python): Lazy eval of python version command (#2158) 2021-01-20 18:42:55 +01:00
ruby.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
rust.rs feat(rust): Support new rust-toolchain format (#1938) 2020-11-30 13:52:55 +01:00
shlvl.rs feat(shlvl): Add repeat option (#1995) 2020-12-14 15:40:21 -05:00
singularity.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
status.rs feat(status): Convert known status code to their meaning (#1948) 2021-01-02 21:09:13 -06:00
swift.rs perf: evaluate swift version lazily (#2159) 2021-01-18 22:42:28 -06:00
terraform.rs feat(terraform): Add hcl extension support to Terraform module (#1875) 2020-11-14 18:33:21 +01:00
time.rs fix: apply nightly clippy & fmt suggestions (#1922) 2020-11-23 20:38:11 +01:00
username.rs fix(user): Fix username detection on Windows (#2014) 2020-12-26 13:27:10 +01:00
zig.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00