Commit Graph

2989 Commits

Author SHA1 Message Date
renovate[bot]
183dd7daf3 build(deps): update crate-ci/typos action to v1.16.23 2023-11-07 16:42:31 +00:00
Patrick Stadler
0ed7c6f650 zsh: clear exit code between prompts 2023-11-07 15:27:36 +01:00
David Knaack
8ce74ac85e chore: cargo update 2023-11-07 15:26:13 +01:00
Matan Kushner
96736fabaa
Add "Stand With Ukraine" badge 2023-11-06 17:33:05 +09:00
renovate[bot]
1fd1562a4d build(deps): update rust crate rust-ini to 0.20.0 2023-11-04 17:11:56 +01:00
renovate[bot]
bc0d57dda9 build(deps): update rust crate indexmap to 2.1.0 2023-11-04 15:23:03 +01:00
renovate[bot]
65c2f3cfb9
build(deps): update toml crates (#5552)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-04 13:17:35 +01:00
renovate[bot]
ae58c9233d
build(deps): update rust crate serde to 1.0.190 (#5527)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-04 13:09:52 +01:00
renovate[bot]
7d474b9fdb
build(deps): update rust crate chrono to 0.4.31 (#5445)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-04 12:31:51 +01:00
renovate[bot]
38ede591c5
build(deps): update rust crate serde_json to 1.0.108 (#5550)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-04 12:30:16 +01:00
renovate[bot]
77001cbc06
build(deps): update rust crate tempfile to 3.8.1 (#5551)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-04 12:30:00 +01:00
renovate[bot]
a2112d4bad
build(deps): update clap crates (#5519)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-04 11:51:19 +01:00
renovate[bot]
36b1442432
build(deps): update pest crates to 2.7.5 (#5518)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-04 11:50:50 +01:00
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