Commit Graph

2969 Commits

Author SHA1 Message Date
adeefeb5f6 build(deps): update rust crate quick-xml to 0.31.0 (#5517) 2023-10-24 12:55:22 +02:00
099539fd1a Update README.md 2023-10-19 13:44:20 +09:00
8b9fee1fb3 build(deps): update rust crate regex to 1.10.2 (#5501)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 09:50:21 +02:00
1f37c80e53 build(deps): update dprint plugins (#5499)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 09:29:48 +02:00
1b6571aff8 build(deps): update rust crate shadow-rs to 0.24.1 (#5498)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 09:29:29 +02:00
fac4ecf53b build(deps): update rust crate regex to 1.10.1 (#5496)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 21:34:45 +02:00
aaf0ca3224 build(deps): update xalvarez/prevent-file-change-action action to v1.4.0 (#5497)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 21:33:33 +02:00
aa4272ce49 build(deps): update gitoxide crates (#5495)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 21:00:58 +02:00
22a78b60e4 build(deps): update rust crate serde to 1.0.189 (#5494)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 21:00:42 +02:00
68c1854b4e build(deps): update toml crates (#5493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 21:00:11 +02:00
5705c10c5a build(deps): update rust crate sha1 to 0.10.6 (#5492)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 20:59:57 +02:00
6194682464 build(deps): update rust crate semver to 1.0.20 (#5491)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 19:02:00 +02:00
283d63bd24 build(deps): update clap crates (#5452)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 19:01:43 +02:00
8b2a83c635 build(deps): update rust crate indexmap to 2.0.2 (#5490)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 16:24:22 +02:00
7797ae40da build(deps): update pest crates to 2.7.4 (#5475)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 16:23:42 +02:00
cee39139bb build(deps): update rust crate unicode-width to 0.1.11 (#5454)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 16:22:58 +02:00
509e61e59f build(deps): update crate-ci/typos action to v1.16.19 (#5486)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 15:36:19 +02:00
97690bc75f build(deps): update embarkstudios/cargo-deny-action action to v1.5.5 (#5473)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 15:35:53 +02:00
d14b29cee2 build(deps): update rust crate schemars to 0.8.15 (#5447)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 15:35:30 +02:00
c6da99c1f2 build(deps): update rust crate terminal_size to 0.3.0 (#5444)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 15:24:30 +02:00
81c7d0cc58 feat: add additional exit status code meanings from libc (#5412) 2023-10-13 10:56:28 +02:00
0e738175c5 fix(install): do not use curl installed through snap (#5442)
* fix: Do not install with snap-curl

Snap-installed curl doesn't work: when trying to download files from
GitHub, it either fails to download the file, or fails to write the
output at all.

Prevent a curl program which is installed with snap from being used to
download starship.

* Update install.sh

* Minor changes to formatting and wording
2023-10-11 15:22:34 +02:00
9450af9d82 build(deps): update rust crate rayon to 1.8.0 (#5458)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 15:22:07 +02:00
7e82cb494c build(deps): update crate-ci/typos action to v1.16.15 (#5453)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-01 09:00:19 +02:00
001253cebe ci: Fix how version is obtained for pkgbuild (#5443)
* fix: Change how starship version is determined

* Add STARSHIP_VERSION envar into CI for notarization

* More strict!

* Supress pushd/popd output

* Fix shellcheck issue with quoting
2023-10-01 08:59:34 +02:00
8168c21293 fix(bash): unbound variable error with STARSHIP_PREEXEC_READY (#5438)
Prevent unbound variable error
2023-10-01 08:54:06 +02:00
45e47e5c29 build(deps): update mislav/bump-homebrew-formula-action action to v3 (#5455)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-01 08:50:42 +02:00
43b2d42cd5 feat(hostname): add detect_env_vars as option (#5196)
* Added hostname.detect_env_vars

based on the newly added context::detect_env_vars

- extended context::detect_env_vars to check for negated environment
  variables as well, analogous to the other detect modules
- made hostname.detect_env_vars only active if ssh_only is set to false
  for backwards compatibility

Co-authored-by: Dominik Sander <dsander@users.noreply.github.com>

* added clippy recommendations, removed unneeded comments

* Added new logic (suggested in https://github.com/starship/starship/pull/5196#issuecomment-1566228913)

The new `detect_env_vars` now requires either SSH_ONLY to be false or the
environment variable SSH_CONNECTION to be set, so that is will be used

* Fixed typo

* Refactored the detect_env_vars function for early returns and better readability

* Change boolean logic for better readability

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

* Apply suggestions from code review to `detect_env_vars` method.

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

* Fixed bracket error & updated comments

- fixed bracket error in hostname.rs, after changes
- updated comments for context.rs, for the suggested changes

* Removed obsolete warning from docs/config/README.md

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

---------

Co-authored-by: Dominik Sander <dsander@users.noreply.github.com>
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2023-09-16 16:42:13 +02:00
e1418b0bb7 build(deps): update rust crate serde_json to 1.0.107 2023-09-14 00:09:44 +00:00
66fcdc1280 build(deps): update toml crates 2023-09-13 04:59:49 +00:00
7694a381b4 build(deps): update rust crate clap to 4.4.3 2023-09-12 21:04:33 +00:00
75708a5f89 build(deps): update mislav/bump-homebrew-formula-action action to v2.3 2023-09-12 17:06:14 +00:00
8916dc6b51 build(deps): update rust crate gix to 0.53.1 2023-09-11 06:30:27 +00:00
748ca01e6e build(deps): upgrade to gix 0.53 (#5431)
This also reduces the binary size from

-rwxr-xr-x  1 byron  staff  6482184 Sep  9 08:52 ./target/release/starship

to

-rwxr-xr-x  1 byron  staff  6399544 Sep  9 08:56 ./target/release/starship
2023-09-11 07:46:21 +02:00
cee948764a build(deps): update dependency dprint/dprint-plugin-markdown to v0.16.1 2023-09-11 01:46:16 +00:00
a36af70858 build(deps): update rust crate serde_json to 1.0.106 2023-09-09 19:50:02 +00:00
c7163dff54 build(deps): update rust crate toml to 0.7.8 2023-09-09 05:34:40 +00:00
bd07b847a5 build(deps): update toml crates 2023-09-08 04:35:32 +00:00
ec72784e10 build(deps): update rust crate clap_complete to 4.4.1 2023-09-07 20:18:19 +00:00
80f0eeb979 build(deps): update rust crate chrono to 0.4.30 2023-09-07 17:10:20 +00:00
8e174471b4 build(deps): update crate-ci/typos action to v1.16.11 2023-09-07 01:23:04 +00:00
55c07bcc7d build(deps): update reviewdog/action-suggester action to v1.8.0 2023-09-06 20:31:45 +00:00
4045b4989f build(deps): update rust crate indexmap to v2 (#5405)
* build(deps): update rust crate indexmap to v2

* enable `indexmap2`-feature in `schemars`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 11:10:50 +02:00
78f53d133a build(deps): update rust crate chrono to 0.4.29 2023-09-05 20:18:07 +00:00
d70d403ddd build(deps): update reviewdog/action-suggester action to v1.7.5 2023-09-05 12:53:28 +00:00
d59bce30ae build(deps): update actions/checkout action to v4 (#5416) 2023-09-05 03:09:06 +09:00
cc058f86f3 build(deps): update rust crate which to 4.4.2 2023-09-04 17:10:51 +00:00
bb0c2262d1 build(deps): update rust crate which to 4.4.1 2023-09-04 07:48:43 +00:00
0fce292c08 build(deps): update dependency dprint/dprint-plugin-typescript to v0.87.1 2023-09-04 01:37:43 +00:00
64dd91f2c5 build(deps): update rust crate regex to 1.9.5 2023-09-02 19:18:01 +00:00