1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-09-27 12:49:02 +00:00
starship/src/configs
Samuele Esposito fe2b3d491e
feat(time): Show module with time range (#992)
* Creation of range field in TimeConfig

* time_range parsing

* Hide time module if outside of time_range

* Tidying of code, and properly handling more cases

* is_inside_time_range function

* Tests and fmt

* Update docs

* The configuration needs the 24-hours format

* Fix clippy errors
2020-05-31 19:43:08 +02:00
..
aws.rs feat: Implement AWS region aliases (#646) 2019-12-20 12:30:47 -05:00
battery.rs refactor: Implement Default for SegmentConfig (#495) 2019-10-05 20:46:14 -05:00
character.rs refactor: Implement Default for SegmentConfig (#495) 2019-10-05 20:46:14 -05:00
cmd_duration.rs feat: cmd_duration module optionally reports milliseconds (#696) 2019-12-19 17:38:06 -05:00
conda.rs fix: Truncate long paths in conda environment names (#694) 2019-12-09 12:59:02 -05:00
crystal.rs feat: Add Crystal version module (#170) 2020-02-04 18:27:06 -05:00
custom.rs fix(custom): improve handling of Powershell prompts (#1237) 2020-05-27 09:38:05 +02:00
directory.rs feat(directory): Add directory substitutions (#1183) 2020-05-31 19:32:35 +02:00
docker_context.rs feat: add docker context module (#996) 2020-04-05 21:42:55 +02:00
dotnet.rs refactor: Implement Default for SegmentConfig (#495) 2019-10-05 20:46:14 -05:00
elixir.rs feat: add Elixir module (#437) 2020-03-01 22:29:27 -05:00
elm.rs feat: Add an Elm module (#879) 2020-02-05 22:57:04 -05:00
env_var.rs refactor: Rewrite cmd_duration, directory and env_var module to use module config (#460) 2019-10-15 20:34:48 +09:00
erlang.rs feat(erlang): Add Erlang module (#1129) 2020-04-27 12:09:42 +02:00
git_branch.rs refactor: Refactor git_branch module to use new module config (#535) 2019-10-15 20:48:53 +09:00
git_commit.rs feat(git_commit): Show the hash of commits when detached HEAD (#738) 2020-02-12 14:56:29 -05:00
git_state.rs refactor: Refactor git state module to use module config (#605) 2019-11-06 22:00:31 +09:00
git_status.rs feat(git_status): Add a stash count segment (#598) 2019-12-28 22:20:36 -05:00
go.rs refactor: Refactor Go module to the new module config (#525) 2019-10-13 13:16:56 +09:00
haskell.rs feat: add Haskell Stack support (#546) 2020-01-25 00:48:39 -06:00
hg_branch.rs feat: Add the hg_branch module (#569) 2019-12-02 17:37:18 -05:00
hostname.rs feat: Add configuration for hostname truncation (#485) 2019-10-15 01:22:25 +09:00
java.rs refactor: Refactor nix_shell and java module to use module config (#606) 2019-11-06 21:59:12 +09:00
jobs.rs refactor: Rewrite hostname, jobs and line_break module to use mo… (#462) 2019-10-10 17:21:52 +09:00
julia.rs Fix julia icon based on https://julialang.org/community/standards/ (#1055) 2020-04-07 11:07:51 +02:00
kubernetes.rs feat(kubernetes): context aliases (#1015) 2020-04-03 20:18:44 +02:00
memory_usage.rs feat: Add separator config to the memory module (#603) 2019-11-13 10:57:46 +09:00
mod.rs feat(PureScript): Add Purescript module (#1227) 2020-05-22 18:26:58 +02:00
nix_shell.rs feat(nix_shell): add symbol to nix-shell module (#1058) 2020-04-07 18:35:18 +02:00
nodejs.rs refactor: Refactor modules to use module config (#514) 2019-10-19 10:51:38 +09:00
ocaml.rs feat(ocaml): Add OCaml module (#1218) 2020-05-21 18:43:13 +02:00
package.rs feat(package): configurable displaying package version for packages marked as private (#1109) 2020-04-28 10:53:30 +02:00
php.rs feat!: Update colors of package and php modules (#782) 2020-02-01 18:10:12 -05:00
purescript.rs feat(PureScript): Add Purescript module (#1227) 2020-05-22 18:26:58 +02:00
python.rs feat(python): Add scan_for_pyfiles option (#692) 2020-04-14 10:26:51 +02:00
ruby.rs refactor: Refactor modules to use module config (#514) 2019-10-19 10:51:38 +09:00
rust.rs refactor: Implement Default for SegmentConfig (#495) 2019-10-05 20:46:14 -05:00
singularity.rs feat: add singularity module (#932) 2020-02-26 11:18:19 -05:00
starship_root.rs feat(PureScript): Add Purescript module (#1227) 2020-05-22 18:26:58 +02:00
terraform.rs docs: Reorder terraform option rows for consistency 2019-12-08 20:43:36 -05:00
time.rs feat(time): Show module with time range (#992) 2020-05-31 19:43:08 +02:00
username.rs refactor: Refactor modules to use module config (#514) 2019-10-19 10:51:38 +09:00
zig.rs feat: add Zig module (#1231) 2020-05-21 18:49:49 +02:00