Commit Graph

116 Commits

Author SHA1 Message Date
renovate[bot] 3c139aa060 build(deps): update rust crate toml to v1 (#7271)
* build(deps): update rust crate toml to v1

* regenerate config-schema

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2026-02-11 19:58:13 +01:00
RFCreate 083ab008fc feat(python): add option to replace generic venv-names with parent dir (#7112) 2026-01-25 22:12:35 +01:00
Christophe Henry 2e8f26e448 feat(directory): add support for regexes in substitutions (#7145)
---------

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2026-01-25 22:09:09 +01:00
Ryan Schmitt 70b0f73554 feat: add Maven module (#7189) 2026-01-25 21:36:09 +01:00
Matthew Warman 0110bf59c8 feat(git_status): add variables to track worktree and index changes (#5655)
---------

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2026-01-04 17:58:10 +01:00
Poliorcetics 0dd5a4f402 feat(vcs): Introduce the VCS module (#6388)
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2026-01-04 17:44:03 +01:00
Morgan Courbet 08824d7c6e fix(mise): align documentation and implementation (#7131) 2025-12-28 21:20:40 +01:00
David Knaack 6e72335c0e chore: bump msrv, fix new clippy warnings & handle os-info update (#7174)
* chore: bump msrv & handle clippy warnings

* chore: handle new os-info symbols
2025-12-26 14:39:50 +01:00
Adrian Mysak 90d8c4a256 feat: Fortran module (#6685)
---------

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2025-10-21 20:17:08 +02:00
Victor Campello 87b7ac342f feat(git_branch): add ignore_bare_repo flag (#6936) 2025-10-21 20:10:17 +02:00
David Knaack d85ee0a18c build(deps): bump schemars, quick-xml & windows (#6928) 2025-09-11 22:05:38 +02:00
Joey Marianer ef7d8bd442 feat(terraform): support opentofu for terraform version detection (#6910)
Support OpenTofu

This is a revitalization of https://github.com/starship/starship/pull/6072

Co-authored-by: Bojan Rajkovic <brajkovic@coderinserepeat.com>
2025-09-06 19:14:17 +02:00
SuniRein ff0acb193e feat: new module xmake (#6811) 2025-07-13 19:56:18 +02:00
David Knaack ea26e25fcd chore: handle recent dependency updates & fix clippy warnings (#6773)
* build(deps): update rust crate schemars to 0.9.0

* chore: handle schemars update

* build(deps): update rust crate nix to 0.30.1

* chore(os): handle os-info update

* chore: handle clippy warnings

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-14 21:56:53 +02:00
Acid Bong e406f552f8 fix: remove double spaces in default values (#6649)
Command run: `for file in $(rg --hidden '".  "' -l); do sed -i '/".  "/s/  ",/ ",/' $file; done`
2025-06-06 23:26:34 +02:00
Cédric Krier 5f0b31b4c8 feat: add mercurial state (#6745) 2025-06-06 23:24:16 +02:00
Pavel Zwerschke a477186e52 fix(pixi): Don't trigger pixi module by .pixi directory (#6709) 2025-05-10 21:37:07 +02:00
Morgan Courbet a98a05f1ac fix(docker_context): add compose.yml and compose.yaml to files (#6625) 2025-05-10 21:35:09 +02:00
David Knaack dc79c1385c chore: fix config schema formatting (#6705) 2025-05-10 21:22:56 +02:00
Andrew Pantuso d24e78754a feat: added mise module (#5747) 2025-04-26 22:15:30 +02:00
Pavel Zwerschke 7e88ba9561 feat: Add support for pixi (#6335)
---------

Co-authored-by: Lucas Colley <lucas.colley8@gmail.com>
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2025-04-26 22:13:57 +02:00
Siddharth Kumar Jha ed07646099 feat(c++): adding c++ module (#6570) 2025-04-26 22:12:35 +02:00
Sebastian Thiel daf8d93d27 perf: use gitoxide for git_status and git_metrics modules (#6476) 2025-04-26 22:43:41 +09:00
Alex Grover 00ce7057ef feat(nodejs): disable if bun project files detected (#6346) 2025-03-09 19:31:40 +01:00
David Knaack 2a3ca68457 refactor: switch to rust 2024 edition & handle dependency updates (#6609) 2025-03-09 19:24:45 +01:00
RoloEdits 76675559c0 feat(python): add support for python_binary arguments in config (#6523) 2025-03-09 16:46:50 +01:00
Max Niederman eb42f5ac70 feat: add network namespace module (#6449) 2025-03-09 16:45:58 +01:00
David Knaack dfddd999c3 chore: handle updates for os-info, windows and shadow-rs (#6487)
* build(deps): update rust crate windows to 0.59.0

* chore: handle windows update

* chore: handle os_info update

* build(deps): update rust crate shadow-rs to 0.37.0

* chore: handle shadow-rs update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-11 14:58:02 +01:00
MK 2df521c69b feat(bun): Detect bun using new text-format lockfile (#6441)
* Support bun text-format lockfile

Bun version 1.1.39 introduced a new plaintext lockfile. Currently it is opt-in only, but it will become the default in bun version 1.2.

* update docs

* update config schema

* update tests
2024-12-29 18:20:01 +01:00
T0mstone e21775c694 feat(status): add {success,failure}_style options (#6269) 2024-12-27 11:30:28 +01:00
Nick Conway 45937166c8 feat(direnv): allow direnv to detect environment variables (#6196) 2024-12-27 11:25:15 +01:00
Poliorcetics 8a38b8f6f1 fix(status): add trailing space to pipestatus_format (#6404) 2024-11-24 19:13:35 +01:00
Daniel Waltz 22c6c5201d feat(deno): add deno.lock file to default detect_files list (#6310)
* feat(deno): add `deno.lock` file to default `detect_files` list

* feat(deno): add `deno.lock` to default detect files in schema

* test: add test for `deno.lock` file presense

* docs: add `deno.lock` to list of default files

* chore: formatting

* Revert "docs: add `deno.lock` to list of default files"

This reverts commit 6d0dc577d5.

* docs: add `deno.lock` to default detect files in primary readme

* chore: revert formatting from latest version of dprint

* docs: add `deno.lock` to default detect files list and format
2024-10-14 22:05:23 +02:00
David Knaack 25f356e3b5 chore: fix minor ci failures (#6293)
* chore: add trailing newline to config schema

* chore: fix typo

closes #6291
2024-10-07 21:18:44 +02:00
Baku Kim 36134d896b feat(python): detect pixi and ipynb files (#6228) 2024-09-26 10:53:18 +02:00
Daniel Kneipp 171746a584 feat(mojo): add module for Mojo language (#6108)
* feat: add support to mojo lang

* docs: fix mojo formatting

* Update src/modules/mojo.rs

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* feat(mojo): parse hash as an independent variable

* chore(mojo): fix formatting

* chore(mojo): update schema and docs

* feat(mojo): use lazy cmd evaluation

---------

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2024-08-18 18:12:39 +02:00
Thomas O'Donnell 8a2d944bc8 feat(python): Add detect env vars option (#4486)
feat(python): Configure different detect env vars

Allow the env vars that trigger the python module to be configured, if
an empty list is passed then the module will fall back to just
triggering based on the configured files, folders and extensions.
2024-08-18 18:11:13 +02:00
Eduard Korchmar 68a8fc9563 feat(hostname): add option to replace hostnames with aliases (#6097)
---------

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2024-08-12 18:26:35 +02:00
David Knaack cfc58161e0 Merge commit from fork
addresses GHSA-vx24-x4mv-vwr5
2024-07-26 19:31:41 +02:00
Evan Mattiza e0281868c9 feat(purescript): add support for spago-next configuration files (#6036)
* update: add purescript spago-next configuration files

in upcoming spago projects, the configuration file is changing from
spago.dhall -> spago.yaml and spago.lock. This will detect both styles
for the time being

* fix typo

did not update test. spago.yaml -> spago.lock in the spago lock file
test case
2024-06-28 23:39:40 +02:00
David Knaack aa05a1e5ab chore: fix rust 1.79 lint warnings (#6034)
* chore: fix rust 1.79 lint warnings

* chore: update config-schema
2024-06-22 09:52:46 +02:00
DerRockWolf 478d5cccb6 fix(direnv): replace nonexistent "orange" color with "bright-yellow" (#5969)
* Fix direnv config: change style from nonexistent "bold orange" to "bold bright-yellow"

* generate config-schema.json

* fix tests
2024-06-02 15:24:12 +02:00
John Hooks 5facd85da5 feat(nats): Add NATS Context (#5900)
---------

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2024-05-15 18:46:14 +02:00
Thomas O'Donnell e3b5dff352 feat(k8s): Add detect env vars option (#4488)
* feat(k8s): Add detect env vars option

Have added the option to trigger the k8s module based on what env vars
are set, this has been done in a backwards compatible way so if nothing
is changed from the defaults the module will still behave the same way
as before. This is similar to what I did in #4486 for the python module
and if goes well I'd like to rollout to other modules.

* Update src/modules/kubernetes.rs

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* Update src/modules/kubernetes.rs

---------

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2024-04-06 15:30:19 +02:00
Alper Cugun 9c1eaddae1 feat(username): add aliases option (#5855)
* Create place to put it in the config

* Initial functional version

* Fix grammar

* Add option documentation to README

* Add test for two aliases and emoji translation

* Remove println

* Rewrite match as iflet

* Improve converting the reference

* Format file

* Try to restore autoformat of markdown

* Replace toml:Map with concrete IndexMap

* Update schema

* Add option that got lost
2024-04-05 23:57:13 +02:00
[Error_27] 335c514e9e feat(odin): Add Odin Lang module (#5873)
* Add Odin lang module

* add utils string and remove commit number from output

* switch to new symbol because ZWJ support is rare

* add config docs

* add option to show the commit number

* fix lack of trimming

* fix formatting to comply with checks

* Add trailing newline to comply with cargo fmt

* Add new Odin test and add newline in cmd output
2024-04-05 23:56:49 +02:00
boreinhardt 34a8f7e628 feat(gleam): Add Gleam module (#5886)
Co-authored-by: benno.reinhardt <benno.reinhardt@silbury.com>
2024-04-05 23:56:15 +02:00
Ramy be4e97c2d9 fix(bun): change default icon (#5880)
* feat: change bun icon #5871

* fix: reverts docs
2024-03-30 09:38:19 +01:00
David Knaack df65b2155f feat(os): add new os symbols (#5849) 2024-03-21 12:39:28 +01:00
Virgile Andreani 0e49f04a6b feat(quarto): Add Quarto module (#5820)
Add Quarto module

* Adapted from the Typst module
2024-03-20 22:50:12 +01:00