1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-11 13:52:26 +00:00
starship/src/modules
Chiffa 639c7c6285
test(username): Default to false for is_root_user() regardless of the OS (#6358)
Default to false for tests regardless of the OS

Checking for username along with cfg!(test) seems redundant, especially because of one edge case - root user can be renamed
2024-11-09 14:06:58 +01:00
..
utils chore: fix hindi truncation tests and bump deps (#6271) 2024-09-28 13:41:35 +02:00
aws.rs refactor: bump msrv to remove once-cell, improve logger test & handle clippy warnings (#6315) 2024-10-17 16:03:22 +02:00
azure.rs fix: update of presets and default configuration to reflect changes in Nerd Fonts 3.0 (#5162) 2023-05-10 14:36:56 +02:00
battery.rs fix: update of presets and default configuration to reflect changes in Nerd Fonts 3.0 (#5162) 2023-05-10 14:36:56 +02:00
buf.rs fix(buf): broken icon on windows 10 (#4689) 2022-12-09 18:41:59 +09:00
bun.rs fix(bun): change default icon (#5880) 2024-03-30 09:38:19 +01:00
c.rs refactor: bump msrv to remove once-cell, improve logger test & handle clippy warnings (#6315) 2024-10-17 16:03:22 +02:00
character.rs fix(character): also handle vi edit mode in pwsh (#5775) 2024-02-19 17:01:51 +01:00
cmake.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
cmd_duration.rs chore: fix clippy warnings for rust 1.67 (#4855) 2023-01-27 18:33:24 +09:00
cobol.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
conda.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
container.rs feat(container): show name if available (#5195) 2024-04-06 15:29:24 +02:00
crystal.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
custom.rs Merge commit from fork 2024-07-26 19:31:41 +02:00
daml.rs fix: replace unmaintained crates yaml-rust, dirs-next (#5887) 2024-03-29 12:14:57 +01:00
dart.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
deno.rs feat(deno): add deno.lock file to default detect_files list (#6310) 2024-10-14 22:05:23 +02:00
directory.rs refactor(directory): avoid unnecessary string copies (#5313) 2023-07-30 14:32:20 +02:00
direnv.rs fix(direnv): replace nonexistent "orange" color with "bright-yellow" (#5969) 2024-06-02 15:24:12 +02:00
docker_context.rs fix(docker_context): Ignore Docker Desktop "desktop-linux" context. (#6314) 2024-10-14 22:02:52 +02:00
dotnet.rs refactor: bump msrv to remove once-cell, improve logger test & handle clippy warnings (#6315) 2024-10-17 16:03:22 +02:00
elixir.rs refactor: bump msrv to remove once-cell, improve logger test & handle clippy warnings (#6315) 2024-10-17 16:03:22 +02:00
elm.rs chore: fix new clippy lints (#4557) 2022-11-05 12:40:46 +01:00
env_var.rs chore: add spell checker to workflows (#4975) 2023-03-22 13:42:46 -05:00
erlang.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
fennel.rs chore: add spell checker to workflows (#4975) 2023-03-22 13:42:46 -05:00
fill.rs feat: add user-defined color palette (#4209) 2022-09-27 23:08:52 +02:00
fossil_branch.rs chore: Minor changes to use more idiomatic Rust (integer max values; complicates nested expressions) (#6090) 2024-07-24 21:06:40 +02:00
fossil_metrics.rs chore: apply new rust 1.75 & nightly clippy fixes (#5646) 2023-12-30 17:29:37 +01:00
gcloud.rs refactor: bump msrv to remove once-cell, improve logger test & handle clippy warnings (#6315) 2024-10-17 16:03:22 +02:00
git_branch.rs chore: fix hindi truncation tests and bump deps (#6271) 2024-09-28 13:41:35 +02:00
git_commit.rs chore: use updated gitoxide crate names (#4913) 2023-02-21 13:03:17 +09:00
git_metrics.rs fix(git): prevent core.fsmonitor from executing external commands (#3981) 2023-07-31 21:44:31 +02:00
git_state.rs chore: use updated gitoxide crate names (#4913) 2023-02-21 13:03:17 +09:00
git_status.rs refactor: bump msrv to remove once-cell, improve logger test & handle clippy warnings (#6315) 2024-10-17 16:03:22 +02:00
gleam.rs feat(gleam): Add Gleam module (#5886) 2024-04-05 23:56:15 +02:00
golang.rs refactor: bump msrv to remove once-cell, improve logger test & handle clippy warnings (#6315) 2024-10-17 16:03:22 +02:00
gradle.rs fix(gradle): add support for unstable Gradle versions (#5021) 2023-03-27 16:41:09 +02:00
guix_shell.rs feat(guix_shell): Initial implementation (#4397) 2022-10-25 07:44:04 +02:00
haskell.rs fix: replace unmaintained crates yaml-rust, dirs-next (#5887) 2024-03-29 12:14:57 +01:00
haxe.rs chore: fix clippy warnings for rust 1.66 (#4715) 2022-12-17 18:01:27 +01:00
helm.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
hg_branch.rs chore: Minor changes to use more idiomatic Rust (integer max values; complicates nested expressions) (#6090) 2024-07-24 21:06:40 +02:00
hostname.rs refactor: bump msrv to remove once-cell, improve logger test & handle clippy warnings (#6315) 2024-10-17 16:03:22 +02:00
java.rs fix(java): wrong version number when using Android Studio JDK (#4966) 2023-04-07 15:40:23 +02:00
jobs.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
julia.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
kotlin.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
kubernetes.rs chore: bump deps and address clippy warnings (#6116) 2024-07-25 22:17:06 +02:00
line_break.rs feat: Add a fill module to pad out the line (#3029) 2021-09-12 19:59:15 -04:00
localip.rs feat(localip): use reserved remote address (#4648) 2022-12-01 19:51:04 +01:00
lua.rs chore: fix new clippy lints (#4557) 2022-11-05 12:40:46 +01:00
memory_usage.rs chore: fix new clippy lints (#4557) 2022-11-05 12:40:46 +01:00
meson.rs feat(module): Add a meson devenv indicator (#4389) 2022-10-11 18:02:46 +02:00
mod.rs feat(mojo): add module for Mojo language (#6108) 2024-08-18 18:12:39 +02:00
mojo.rs refactor: bump msrv to remove once-cell, improve logger test & handle clippy warnings (#6315) 2024-10-17 16:03:22 +02:00
nats.rs feat(nats): Add NATS Context (#5900) 2024-05-15 18:46:14 +02:00
nim.rs chore: fix clippy warnings for rust 1.68 (#4983) 2023-03-11 07:23:30 +01:00
nix_shell.rs chore: apply new rust 1.75 & nightly clippy fixes (#5646) 2023-12-30 17:29:37 +01:00
nodejs.rs refactor: bump msrv to remove once-cell, improve logger test & handle clippy warnings (#6315) 2024-10-17 16:03:22 +02:00
ocaml.rs refactor: bump msrv to remove once-cell, improve logger test & handle clippy warnings (#6315) 2024-10-17 16:03:22 +02:00
odin.rs feat(odin): Add Odin Lang module (#5873) 2024-04-05 23:56:49 +02:00
opa.rs feat: Open Policy Agent module (#1740) (#4441) 2022-10-15 18:15:33 +02:00
openstack.rs fix: replace unmaintained crates yaml-rust, dirs-next (#5887) 2024-03-29 12:14:57 +01:00
os.rs fix: replace all remaining paths referring to vuepress (#5859) 2024-03-24 08:03:55 +01:00
package.rs chore: fix minor ci failures (#6293) 2024-10-07 21:18:44 +02:00
perl.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
php.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
pijul_channel.rs build(deps): update toml crates (#4853) 2023-01-30 23:12:27 +01:00
pulumi.rs fix: replace unmaintained crates yaml-rust, dirs-next (#5887) 2024-03-29 12:14:57 +01:00
purescript.rs feat(purescript): add support for spago-next configuration files (#6036) 2024-06-28 23:39:40 +02:00
python.rs feat(python): detect pixi and ipynb files (#6228) 2024-09-26 10:53:18 +02:00
quarto.rs feat(quarto): Add Quarto module (#5820) 2024-03-20 22:50:12 +01:00
raku.rs refactor: bump msrv to remove once-cell, improve logger test & handle clippy warnings (#6315) 2024-10-17 16:03:22 +02:00
red.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
rlang.rs feat: R lang packages version, remove .Rprofile from rlang detection (#5588) 2023-11-29 07:25:40 +01:00
ruby.rs feat: $gemset variable for Ruby module (#5429) 2024-03-20 22:57:26 +01:00
rust.rs refactor: bump msrv to remove once-cell, improve logger test & handle clippy warnings (#6315) 2024-10-17 16:03:22 +02:00
scala.rs perf(scala): use scala-cli first to avoid timeout (#5952) 2024-05-12 20:32:08 +02:00
shell.rs feat(shell): allow distinguishing between pwsh and powershell (#5478) 2023-11-25 14:06:03 +01:00
shlvl.rs chore: apply new rust 1.75 & nightly clippy fixes (#5646) 2023-12-30 17:29:37 +01:00
singularity.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
solidity.rs feat: Add Solidity Module (#5047) 2023-04-13 21:05:12 +02:00
spack.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
status.rs fix(status): fix pipestatus width calculation (#5036) 2024-03-20 22:58:33 +01:00
sudo.rs chore: fix new clippy lints (#4557) 2022-11-05 12:40:46 +01:00
swift.rs chore: fix typos (#5239) 2023-06-13 15:40:17 -05:00
terraform.rs chore: fix new clippy lints (#4557) 2022-11-05 12:40:46 +01:00
time.rs chore: handle rust 1.72 clippy & fmt changes (#5399) 2023-08-25 22:53:35 +02:00
typst.rs feat: add typst module 2023-11-12 19:02:31 +01:00
username.rs test(username): Default to false for is_root_user() regardless of the OS (#6358) 2024-11-09 14:06:58 +01:00
vagrant.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
vcsh.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
vlang.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
zig.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00