1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-16 10:05:13 +00:00
starship/src/configs
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
..
aws.rs feat: refactor modules to use format strings (#1374) 2020-07-07 18:45:32 -04:00
battery.rs feat(battery): make module behaviour more obvious (#1950) 2021-01-01 12:16:55 +01:00
character.rs feat: refactor modules to use format strings (#1374) 2020-07-07 18:45:32 -04:00
cmake.rs fix(cmake): Fix spacing with missing variable (#2135) 2021-01-16 13:27:02 +01:00
cmd_duration.rs feat: Add Undistract Me Feature (#1019) 2020-08-11 18:44:25 +02:00
conda.rs feat(conda): add ignore_base option (#1539) 2020-07-30 18:57:15 +02:00
crystal.rs perf(crystal): Lazily evaluate version command (#2129) 2021-01-13 18:35:44 +01:00
custom.rs perf(custom): evaluate command lazily (#2173) 2021-01-20 19:01:49 +01:00
dart.rs perf(dart): Lazy eval dart (#2166) 2021-01-20 18:56:18 +01:00
directory.rs fix(directory): preserve substitution order (#1782) 2020-10-13 15:06:41 -04:00
docker_context.rs feat: refactor modules to use format strings (#1374) 2020-07-07 18:45:32 -04:00
dotnet.rs fix: Adjust default format strings (#2165) 2021-01-20 18:46:26 +01:00
elixir.rs perf(elixir): evaluate version lazily (#2172) 2021-01-20 18:59:21 +01:00
elm.rs perf(elm): Lazy eval elm (#2167) 2021-01-20 18:49:26 +01:00
env_var.rs feat: refactor modules to use format strings (#1374) 2020-07-07 18:45:32 -04:00
erlang.rs fix: Adjust default format strings (#2165) 2021-01-20 18:46:26 +01:00
gcloud.rs feat: Add gcloud module (#1493) 2020-08-03 23:30:20 +02:00
git_branch.rs feat(git_branch): add remote branch name if different than local branch (#1915) 2020-11-23 22:07:16 +01:00
git_commit.rs feat(git_commit): add git tag to module (#950) 2020-10-23 11:49:19 -04:00
git_state.rs fix(git-state): Fix discrepancy between v0.44.0 and master (#1672) 2020-09-21 15:17:06 -04:00
git_status.rs feat: refactor modules to use format strings (#1374) 2020-07-07 18:45:32 -04:00
go.rs fix: Adjust default format strings (#2165) 2021-01-20 18:46:26 +01:00
helm.rs fix: Adjust default format strings (#2165) 2021-01-20 18:46:26 +01:00
hg_branch.rs feat: refactor modules to use format strings (#1374) 2020-07-07 18:45:32 -04:00
hostname.rs fix: use suffixes for modules before directory (#1645) 2020-09-08 12:09:21 -04:00
java.rs perf(java): Lazy eval java (#2168) 2021-01-20 18:51:30 +01:00
jobs.rs feat: refactor modules to use format strings (#1374) 2020-07-07 18:45:32 -04:00
julia.rs fix: Adjust default format strings (#2165) 2021-01-20 18:46:26 +01:00
kotlin.rs perf(kotlin): Lazy eval kotlin (#2186) 2021-01-21 23:01:30 +01:00
kubernetes.rs fix: use suffixes for modules before directory (#1645) 2020-09-08 12:09:21 -04:00
lua.rs perf(lua): Lazy eval lua (#2185) 2021-01-21 23:00:12 +01:00
memory_usage.rs feat: refactor modules to use format strings (#1374) 2020-07-07 18:45:32 -04:00
mod.rs feat(kotlin): Add the kotlin module (#2026) 2020-12-26 15:26:50 +01:00
nim.rs fix: Adjust default format strings (#2165) 2021-01-20 18:46:26 +01:00
nix_shell.rs docs: Comment about spaces in nix-shell config (#2106) 2021-01-09 10:29:47 +01:00
nodejs.rs perf(nodejs): evaluate nodejs format string lazily (#2160) 2021-01-20 19:03:48 +01:00
ocaml.rs perf(ocaml): evaluate version lazily; adjust format string; update test (#2188) 2021-01-22 18:08:04 +01:00
openstack.rs feat(openstack): Add module for OpenStack (#1664) 2020-10-24 11:46:43 +02:00
package.rs feat: refactor modules to use format strings (#1374) 2020-07-07 18:45:32 -04:00
perl.rs perf(perl): Lazy eval perl (#2189) 2021-01-22 18:07:03 +01:00
php.rs perf(php): Lazy eval php (#2190) 2021-01-22 18:03:18 +01:00
purescript.rs Perf(purescript): Lazy eval purescript (#2191) 2021-01-22 18:01:54 +01:00
python.rs perf(python): Lazy eval of python version command (#2158) 2021-01-20 18:42:55 +01:00
ruby.rs fix: Adjust default format strings (#2165) 2021-01-20 18:46:26 +01:00
rust.rs fix: Adjust default format strings (#2165) 2021-01-20 18:46:26 +01:00
shlvl.rs feat(shlvl): Add repeat option (#1995) 2020-12-14 15:40:21 -05:00
singularity.rs feat: refactor modules to use format strings (#1374) 2020-07-07 18:45:32 -04:00
starship_root.rs feat(kotlin): Add the kotlin module (#2026) 2020-12-26 15:26:50 +01: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: refactor modules to use format strings (#1374) 2020-07-07 18:45:32 -04:00
time.rs feat: refactor modules to use format strings (#1374) 2020-07-07 18:45:32 -04:00
username.rs fix: use suffixes for modules before directory (#1645) 2020-09-08 12:09:21 -04:00
zig.rs perf(zig): Lazy eval zig (#2187) 2021-01-22 18:08:36 +01:00