Commit Graph

3940 Commits

Author SHA1 Message Date
renovate[bot] 91e4478782 build(deps): update rust crate semver to 1.0.27 (#6977)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-14 20:22:06 +00:00
renovate[bot] 0e6cdd5308 build(deps): update rust crate serde_json to 1.0.145 (#6976)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-14 19:42:28 +00:00
Martin Grigorov 3d5efd039c docs(xmake): correct style color from blue to green (#6974) 2025-09-14 21:41:19 +02:00
renovate[bot] 678ce4758b build(deps): update rust crate serde_json to 1.0.144 (#6973)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-14 10:32:19 +00:00
renovate[bot] e9d6647153 build(deps): update rust crate serde to 1.0.221 2025-09-14 01:27:45 +00:00
Justin Su 15825bee6d docs(presets/nerd-font): fix section ordering in nerd-font-symbols preset (#6821) 2025-09-13 12:01:17 +02:00
David Knaack 286b0f2be3 fix: consider text-only meta variables in conditionals set if non-empty (#6338) 2025-09-13 11:59:36 +02:00
renovate[bot] 95313f83bf build(deps): update pest crates to 2.8.2 (#6971)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-13 04:36:09 +00:00
David Knaack d85ee0a18c build(deps): bump schemars, quick-xml & windows (#6928) 2025-09-11 22:05:38 +02:00
renovate[bot] f04362e84b build(deps): update rust crate tempfile to 3.22.0 2025-09-09 17:11:44 +00:00
renovate[bot] 4ace586699 build(deps): update rust crate indexmap to 2.11.1 2025-09-09 02:39:35 +00:00
renovate[bot] 339b5cf50a build(deps): update reviewdog/action-suggester action to v1.24.0 (#6961)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-08 13:59:34 +00:00
renovate[bot] 113745bb6b build(deps): update rust crate chrono to 0.4.42 2025-09-08 10:55:19 +00:00
renovate[bot] 1afa67096d build(deps): lock file maintenance (#6960)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-08 06:15:02 +00:00
renovate[bot] a34fb05691 build(deps): update dependency dprint/dprint-plugin-typescript to v0.95.11 2025-09-08 01:28:43 +00:00
David Knaack 05daa3e278 fix(git_metrics): adhere to git_status use_git_executable option (#6927) 2025-09-07 21:23:16 +02:00
Meriel Luna Mittelbach a60df1d1fe fix(modules): username detect_env_vars logic (#6934)
problem: `Context::detect_env_vars` is insufficient for the logic used
by the username module, as it cannot differentiate between 'a negated
variable was found' and 'no non-negated variables were found'

solution: Add a `detect_env_vars2` method which returns an enum
`Detected` which can represents the 4 interesting cases:

- `detect_env_vars` is empty
- A negated variable was found
- A non-negated variable was found
- No non-negated variables were found

Fixes #6870
2025-09-07 21:22:32 +02:00
renovate[bot] 590a6b8db8 build(deps): update rust crate process_control to 5.2.0 (#6958)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-07 19:14:49 +00:00
David Knaack 0f5d8d4a4a fix(terraform): amend module to exec_cmds_return_first-changes (#6956) 2025-09-07 21:05:04 +02:00
David Zuelke 38db5f0094 fix(zsh): do not fail under ERR_EXIT conditions if STARSHIP_DURATION computes to 0 (#6922)
Guard against `STARSHIP_DURATION=0`

If an arithmetic expression evaluates to `0`, its exit status is `1`:

> The return status is 0 if the arithmetic value of the expression is non-zero, 1 if it is zero, and 2 if an error occurred.

In rare cases, the subtraction for `STARSHIP_DURATION` can result in an `int(0)` result (yes, really - happens e.g. during `vhs` sessions), which would then kill the shell if `set -e` is in effect.

We therefore have to assign the result outside the expression (using `STARSHIP_DURATION=$((...))`), because unlike regular `(())` arithmetic expressions, a `$(())` arithmetic substitution gets a return status of `0` even if the expression evalues to `int(0)`.

The alternative would be to keep the expression, and ensure it always succeeds, by doing `(( STARSHIP_DURATION = ... )) || true`.

However, the `$(()` approach has the benefit of still bubbling up an error from the arithmetic expression (normally return status `2` as in the documentation quote above; return status `1` in a substitution), which is useful e.g. in the event of undefined variables.
2025-09-06 19:16:03 +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
Ali Nazzal 95bf53f6b9 fix(jobs): Count job groups instead of processes for fish (#6899)
---------

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2025-09-06 19:13:26 +02:00
Kai Sforza 2c11c086b8 fix(explain): Filter out non-printing ANSI escape codes (#6861)
Filter out non-printing ANSI escape codes

The string `\x1b[35;49mkai` is, on the screen, only 3 characters long,
however the `width_graphemes()` function would say that it is 10
characters long. This is only really an issue for `explain`, as it makes
the width of the left column incorrect for the padding. Instead of the
following:

```console
$ starship explain
"/" (<1ms)    - <description>
"kai" (<1ms)  - <description>
```

it would print out like this for any parts that don't use ansi escapes
internally:

```console
"/" (<1ms)           - <description>
"kai" (<1ms)  - <description>
```

This should cause no problems with any of the unstyled lengths that
are generated normally, but any pre-styled strings in `custom` calls
will cause this issue.
2025-09-06 19:12:23 +02:00
SpookyYomo 109a6811ce fix: improve adhere to directory scanning timeout (#6694) 2025-09-06 19:00:30 +02:00
renovate[bot] 11dbaed316 build(deps): update actions/github-script action to v8 (#6952)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-06 18:42:17 +02:00
renovate[bot] ef2958c61c build(deps): update actions/setup-node action to v5 (#6949)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-06 18:30:34 +02:00
renovate[bot] 521b15da3d build(deps): update reviewdog/action-suggester action to v1.23.1 (#6948)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-06 12:30:23 +00:00
renovate[bot] 1904f04cf7 build(deps): update crate-ci/typos action to v1.36.2 2025-09-04 16:35:18 +00:00
renovate[bot] 6cd03ba23e build(deps): update rust crate log to 0.4.28 (#6947)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-04 03:26:04 +00:00
renovate[bot] 6c69011196 build(deps): update crate-ci/typos action to v1.36.1 2025-09-03 20:55:35 +00:00
renovate[bot] ee2a53be4c build(deps): update rust crate clap to 4.5.47 (#6943)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-03 01:36:08 +00:00
renovate[bot] 1aa99c8fa4 build(deps): update crate-ci/typos action to v1.36.0 2025-09-02 16:45:18 +00:00
renovate[bot] dbb32bf62e build(deps): update crate-ci/typos action to v1.35.8 2025-09-02 04:42:28 +00:00
renovate[bot] 6a9fe7d654 build(deps): update reviewdog/action-suggester action to v1.22.0 (#6940)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-31 17:43:25 +00:00
renovate[bot] dc89350e6d build(deps): update dependency node to v22.19.0 (#6939)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-31 17:43:13 +00:00
renovate[bot] 386863c70b build(deps): update rust crate rust-ini to 0.21.3 (#6938)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-31 12:34:44 +00:00
renovate[bot] d8ff74bd43 build(deps): update crate-ci/typos action to v1.35.7 (#6937)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-31 12:34:28 +00:00
renovate[bot] d3e9ede789 build(deps): update rust crate shadow-rs to 1.3.0 2025-08-28 21:42:15 +00:00
renovate[bot] 54d99d2565 build(deps): update rust crate clap to 4.5.46 2025-08-26 20:03:25 +00:00
renovate[bot] fe184e6482 build(deps): lock file maintenance (#6930)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-25 06:07:19 +00:00
renovate[bot] e0e6e390ae build(deps): update dependency dprint/dprint-plugin-typescript to v0.95.10 2025-08-25 02:41:44 +00:00
renovate[bot] 2befc8283a build(deps): update rust crate regex to 1.11.2 2025-08-24 14:05:41 +00:00
renovate[bot] c3fb532eff build(deps): update rust crate indexmap to 2.11.0 (#6924)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-22 21:51:10 +00:00
renovate[bot] 57e1926e2d build(deps): update rust crate toml_edit to 0.23.4 2025-08-22 18:27:31 +00:00
renovate[bot] a96b429e02 build(deps): lock file maintenance (#6919)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-20 20:37:13 +00:00
Steve Smith b698fb0559 fix: rust-ini 0.21.2 has been yanked from crates.io. (#6916) 2025-08-20 12:04:29 +02:00
renovate[bot] 4b3470e9b1 build(deps): update rust crate tempfile to 3.21.0 2025-08-20 01:33:59 +00:00
renovate[bot] f9e3e7411e build(deps): update rust crate serde_json to 1.0.143 2025-08-19 06:40:03 +00:00
renovate[bot] 9074f2b4ca build(deps): update crate-ci/typos action to v1.35.5 2025-08-19 00:46:15 +00:00
-k 07778a8452 feat(package): Add support for Ansible Galaxy (#6905) 2025-08-17 19:52:52 +02:00