Commit Graph

3226 Commits

Author SHA1 Message Date
renovate[bot] 404d231a52
build(deps): update rust crate which to v5 (#5505)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-04 11:50:19 +01:00
renovate[bot] 746a962020
build(deps): update crate-ci/typos action to v1.16.22 (#5502)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-04 09:47:14 +01:00
renovate[bot] ac62d656e0
build(deps): update dprint plugins (#5513)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-04 09:46:53 +01:00
Max Mynter 6abc83decd
fix(pastel-powerline): remove `$path` from docker-context module format string (#5534)
Remove $path from docker-context
2023-11-02 11:11:26 +01:00
Ohad Lutzky 7b851fc30e
feat(scanner): add option not to follow symlinks (#5325)
Add follow_symlinks option

Settings this to false can fix hanging on symlinks to slow/inaccessible
filesystems.
2023-11-02 09:01:09 +01:00
Macilenta ca5851d155
docs(config): Add quote to unquoted strings, unifying quotes (#5480)
* docs(config): add quote to unquoted strings

Add quote to unquoted strings

There are some unquoted default value strings in module's "options" table

* docs(config): Unify quotes in Option table

some strings in modules' "options" table are wrapped in single quotes, some are
wrapped in double quotes,
standardize them to be wrapped in single quotes

* docs(config): Format file using dprint
2023-10-29 13:40:09 +01:00
renovate[bot] 53c6f08ee5
build(deps): update toml crates (#5516) 2023-10-24 12:55:48 +02:00
renovate[bot] adeefeb5f6
build(deps): update rust crate quick-xml to 0.31.0 (#5517) 2023-10-24 12:55:22 +02:00
Matan Kushner 099539fd1a
Update README.md 2023-10-19 13:44:20 +09:00
renovate[bot] 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
renovate[bot] 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
renovate[bot] 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
renovate[bot] 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
renovate[bot] 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
renovate[bot] 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
renovate[bot] 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
renovate[bot] 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
renovate[bot] 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
renovate[bot] 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
renovate[bot] 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
renovate[bot] 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
renovate[bot] 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
renovate[bot] 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
renovate[bot] 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
renovate[bot] 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
renovate[bot] 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
renovate[bot] 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
William Howard 81c7d0cc58
feat: add additional exit status code meanings from libc (#5412) 2023-10-13 10:56:28 +02:00
Kevin Song 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
renovate[bot] 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
renovate[bot] 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
Kevin Song 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
Ariel Barreiro 8168c21293
fix(bash): unbound variable error with STARSHIP_PREEXEC_READY (#5438)
Prevent unbound variable error
2023-10-01 08:54:06 +02:00
renovate[bot] 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
Mick Hohmann 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
renovate[bot] e1418b0bb7
build(deps): update rust crate serde_json to 1.0.107 2023-09-14 00:09:44 +00:00
renovate[bot] 66fcdc1280
build(deps): update toml crates 2023-09-13 04:59:49 +00:00
renovate[bot] 7694a381b4 build(deps): update rust crate clap to 4.4.3 2023-09-12 21:04:33 +00:00
renovate[bot] 75708a5f89
build(deps): update mislav/bump-homebrew-formula-action action to v2.3 2023-09-12 17:06:14 +00:00
renovate[bot] 8916dc6b51 build(deps): update rust crate gix to 0.53.1 2023-09-11 06:30:27 +00:00
Sebastian Thiel 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
renovate[bot] cee948764a
build(deps): update dependency dprint/dprint-plugin-markdown to v0.16.1 2023-09-11 01:46:16 +00:00
renovate[bot] a36af70858
build(deps): update rust crate serde_json to 1.0.106 2023-09-09 19:50:02 +00:00
renovate[bot] c7163dff54
build(deps): update rust crate toml to 0.7.8 2023-09-09 05:34:40 +00:00
renovate[bot] bd07b847a5
build(deps): update toml crates 2023-09-08 04:35:32 +00:00
renovate[bot] ec72784e10 build(deps): update rust crate clap_complete to 4.4.1 2023-09-07 20:18:19 +00:00
renovate[bot] 80f0eeb979
build(deps): update rust crate chrono to 0.4.30 2023-09-07 17:10:20 +00:00
renovate[bot] 8e174471b4 build(deps): update crate-ci/typos action to v1.16.11 2023-09-07 01:23:04 +00:00
renovate[bot] 55c07bcc7d
build(deps): update reviewdog/action-suggester action to v1.8.0 2023-09-06 20:31:45 +00:00
David Knaack 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