1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-07-02 06:03:30 +00:00
Commit Graph

2060 Commits

Author SHA1 Message Date
Segev Finer
1c305c9de7
feat(directory): Windows path formatting via path_slash::PathBufExt (#3157)
* feat: Experimental Windows path formatting via path_slash::PathBufExt

* Rework the slash path conversion into a real PR

* Add a test for convert_slash = false

* Attempt fixing CI failures

* Fix lint and fmt

* Fix docs/config/README.md getting messed up

* Rename convert_slash/from_slash

* Move convert_path_sep calls in tests

* Keep path_vec immutable

* Run rustfmt
2021-12-30 09:57:13 +01:00
Maximous Black
f48c7a26cf
feat(deno): detect deno.json and deno.jsonc (#3220)
* feat(deno): detect `deno.json` and `deno.jsonc`

* update docs

* update tests

* cargo fmt

* revert lockfile changes

* revert doc updates to non-english files

* Restore README.md

* fmt
2021-12-30 09:55:46 +01:00
David Knaack
67cddb616b
fix(elvish): upgrade shell integration for v0.17 (#3310) 2021-12-30 09:49:55 +01:00
Kevin Song
52abffaec6
docs: Fix incorrect variables for hostname module (#3361) 2021-12-30 09:49:21 +01:00
dependabot[bot]
35e5a6f9c8
build: bump toml_edit from 0.12.0 to 0.12.1 (#3360)
Bumps [toml_edit](https://github.com/ordian/toml_edit) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/ordian/toml_edit/releases)
- [Changelog](https://github.com/ordian/toml_edit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ordian/toml_edit/compare/v0.12.0...v0.12.1)

---
updated-dependencies:
- dependency-name: toml_edit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-29 14:05:14 +03:00
Denis Cornehl
c63e9a71bd
perf(rust): additionally check rustup default for faster result. (#3354)
* perf(rust): additionally check `rustup default` for faster result.

After checking directory overrides we were directly falling back to the
relatively slow call to `rustc --version`.

Inserting a call to `rustup default` leads to a quicker response.

* use `context.exec_cmd` instead of `create_command`
2021-12-28 21:10:49 +01:00
dependabot[bot]
eaa3cc1875
build: bump mislav/bump-homebrew-formula-action from 1.15 to 1.16 (#3355)
Bumps [mislav/bump-homebrew-formula-action](https://github.com/mislav/bump-homebrew-formula-action) from 1.15 to 1.16.
- [Release notes](https://github.com/mislav/bump-homebrew-formula-action/releases)
- [Commits](https://github.com/mislav/bump-homebrew-formula-action/compare/v1.15...v1.16)

---
updated-dependencies:
- dependency-name: mislav/bump-homebrew-formula-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-28 10:05:34 +03:00
David Knaack
af98f5b8ce
fix: set cwd for command execution (#3309) 2021-12-27 23:56:06 -06:00
dependabot[bot]
19e084e79b
build: bump mislav/bump-homebrew-formula-action from 1.14 to 1.15 (#3352)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-27 03:40:40 -05:00
dependabot[bot]
3d0a1244fc
build: bump @vuepress/plugin-google-analytics in /docs (#3350)
Bumps [@vuepress/plugin-google-analytics](https://github.com/vuejs/vuepress/tree/HEAD/packages/@vuepress/plugin-google-analytics) from 1.8.2 to 1.9.5.
- [Release notes](https://github.com/vuejs/vuepress/releases)
- [Changelog](https://github.com/vuejs/vuepress/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuepress/commits/v1.9.5/packages/@vuepress/plugin-google-analytics)

---
updated-dependencies:
- dependency-name: "@vuepress/plugin-google-analytics"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-27 10:07:43 +03:00
dependabot[bot]
0feaffb94c
build: bump vuepress from 1.8.2 to 1.9.5 in /docs (#3351)
Bumps [vuepress](https://github.com/vuejs/vuepress/tree/HEAD/packages/vuepress) from 1.8.2 to 1.9.5.
- [Release notes](https://github.com/vuejs/vuepress/releases)
- [Changelog](https://github.com/vuejs/vuepress/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuepress/commits/v1.9.5/packages/vuepress)

---
updated-dependencies:
- dependency-name: vuepress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-27 09:05:57 +03:00
Zhong Liu
8d0cebdcbd
fix(dart): detect version output in stdout with dart 2.15+ (#3349) 2021-12-24 09:43:07 -05:00
dependabot[bot]
10e8912159
build: bump mislav/bump-homebrew-formula-action from 1.13 to 1.14 (#3348)
Bumps [mislav/bump-homebrew-formula-action](https://github.com/mislav/bump-homebrew-formula-action) from 1.13 to 1.14.
- [Release notes](https://github.com/mislav/bump-homebrew-formula-action/releases)
- [Commits](https://github.com/mislav/bump-homebrew-formula-action/compare/v1.13...v1.14)

---
updated-dependencies:
- dependency-name: mislav/bump-homebrew-formula-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-24 00:18:46 -06:00
Martin Dixon
fffc7561f6
fix: typo in FAQ page (#3347) 2021-12-23 16:03:51 +01:00
dependabot[bot]
2653b5ed13
build: bump os_info from 3.0.8 to 3.0.9 (#3345)
Bumps [os_info](https://github.com/stanislav-tkach/os_info) from 3.0.8 to 3.0.9.
- [Release notes](https://github.com/stanislav-tkach/os_info/releases)
- [Changelog](https://github.com/stanislav-tkach/os_info/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stanislav-tkach/os_info/compare/v3.0.8...v3.0.9)

---
updated-dependencies:
- dependency-name: os_info
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-22 10:05:26 +03:00
Matan Kushner
9a4b2bb536
chore(release): v1.1.1 2021-12-21 23:06:15 +03:00
Matan Kushner
8f84f7cf88
ci: use the default macOS SDK at build time 2021-12-21 23:05:49 +03:00
Matan Kushner
af049d5bc9
chore(release): v1.1.0 2021-12-21 18:13:22 +03:00
Matan Kushner
7e45d645b6
docs: update Algolia API key and appId 2021-12-21 17:58:41 +03:00
Mika Fischer
cb40787e2a
feat(status): Add hex_status (#3312) 2021-12-21 05:05:28 -05:00
Matan Kushner
16af0ffcd6
chore: rename flag-in.png → flag-id.png 2021-12-21 12:32:48 +03:00
Matan Kushner
1cc83254d9
docs(i18n): add Indonesian and Italian docs (#3339) 2021-12-21 04:30:59 -05:00
Matan Kushner
f3a840c621
docs(i18n): new Crowdin updates (#3338) 2021-12-21 04:30:45 -05:00
dependabot[bot]
a0cb98cc20
build: bump mislav/bump-homebrew-formula-action from 1.12 to 1.13 (#3342)
Bumps [mislav/bump-homebrew-formula-action](https://github.com/mislav/bump-homebrew-formula-action) from 1.12 to 1.13.
- [Release notes](https://github.com/mislav/bump-homebrew-formula-action/releases)
- [Commits](https://github.com/mislav/bump-homebrew-formula-action/compare/v1.12...v1.13)

---
updated-dependencies:
- dependency-name: mislav/bump-homebrew-formula-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-21 10:05:35 +03:00
Lucien Fiorini
a8579d6f2f
fix: Display durations of 0ms (#3121)
Previous code would render all components as empty, resulting
in an empty string even if min_time was 0. This adds a special
case which forces prompt to render "0ms"
2021-12-20 15:58:25 -06:00
Matan Kushner
d0a6ce7faa
docs(i18n): new Crowdin updates (#3337) 2021-12-20 16:42:03 -05:00
Matan Kushner
5de3f18bce
docs(i18n): new Crowdin updates (#3218) 2021-12-20 16:05:59 -05:00
Denis Cornehl
006fbf0dd5
fix(aws): prevent endless loop when AWS config file is a directory (#3335)
When opening a directory as a file the intial open works, while
subsequent line-reads will fail with _is a directory_.
Since erroring line-reads were just skipped this lead to an
endless loop.
2021-12-20 21:15:00 +01:00
dependabot[bot]
5ce8811397
build: bump serde from 1.0.131 to 1.0.132 (#3330)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.131 to 1.0.132.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.131...v1.0.132)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-17 10:05:27 +03:00
dependabot[bot]
ce062b56a2
build: bump nix from 0.23.0 to 0.23.1 (#3331)
Bumps [nix](https://github.com/nix-rust/nix) from 0.23.0 to 0.23.1.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.23.0...v0.23.1)

---
updated-dependencies:
- dependency-name: nix
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-17 10:05:24 +03:00
dependabot[bot]
6061cae59a
build: bump once_cell from 1.8.0 to 1.9.0 (#3325)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-15 11:05:52 +03:00
dependabot[bot]
b4932ff8fa
build: bump toml_edit from 0.10.1 to 0.12.0 (#3326)
Bumps [toml_edit](https://github.com/ordian/toml_edit) from 0.10.1 to 0.12.0.
- [Release notes](https://github.com/ordian/toml_edit/releases)
- [Changelog](https://github.com/ordian/toml_edit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ordian/toml_edit/compare/v0.10.1...v0.12.0)

---
updated-dependencies:
- dependency-name: toml_edit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-15 10:05:44 +03:00
dependabot[bot]
50d3abeb9b
build: bump serde_json from 1.0.72 to 1.0.73 (#3323)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.72 to 1.0.73.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.72...v1.0.73)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-14 00:39:48 -06:00
David Knaack
da6edec3a3
chore(audit): unignore RUSTSEC-2020-0095 (difference is unmaintained) (#3319) 2021-12-13 20:36:43 +01:00
Kid
8d9650afe2
fix(docs): remove superfluous space (#3314) 2021-12-13 06:24:26 -05:00
Matan Kushner
e6492c5188
chore: replace flags with 2x images 2021-12-13 12:43:44 +03:00
Mika Fischer
b21904c9d3
fix: Store $? and $LASTEXITCODE first in PowerShell (#3316)
These need to be stored before calling any PowerShell function or executable.
Otherwise the values will be overwritten and cannot be properly restored
or passed to starship.

Fixes: #3315
2021-12-13 10:15:02 +01:00
dependabot[bot]
3c379693e1
build: bump mockall from 0.10.2 to 0.11.0 (#3318)
Bumps [mockall](https://github.com/asomers/mockall) from 0.10.2 to 0.11.0.
- [Release notes](https://github.com/asomers/mockall/releases)
- [Changelog](https://github.com/asomers/mockall/blob/master/CHANGELOG.md)
- [Commits](https://github.com/asomers/mockall/compare/v0.10.2...v0.11.0)

---
updated-dependencies:
- dependency-name: mockall
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 10:05:49 +03:00
Kid
faa9050f51
docs(config): clarify special characters escaping (#3313) 2021-12-12 14:51:13 -06:00
David Knaack
b4a14e3a80
test(hostname): fix trim_at test with unicode hostname (#3295) 2021-12-09 22:15:25 +01:00
dependabot[bot]
b626a98b37
build: bump serde from 1.0.130 to 1.0.131 (#3306)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.130 to 1.0.131.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.130...v1.0.131)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-09 00:44:46 -06:00
dependabot[bot]
fd3cbb56de
build: bump sha-1 from 0.9.8 to 0.10.0 (#3302)
Bumps [sha-1](https://github.com/RustCrypto/hashes) from 0.9.8 to 0.10.0.
- [Release notes](https://github.com/RustCrypto/hashes/releases)
- [Commits](https://github.com/RustCrypto/hashes/compare/sha-1-v0.9.8...md2-v0.10.0)

---
updated-dependencies:
- dependency-name: sha-1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-08 10:05:30 +03:00
Mikkel Mork Hegnhoj
365b295433
feat(azure): Azure module (#3275)
* Azure module

* make Semantic PR bot happy

* Responding to review

* Changing severity of logging event
2021-12-06 23:01:33 +01:00
arcnmx
e3a88a6ec1
fix(git_branch): more robust handling of .git (#3290) 2021-12-03 15:15:31 -05:00
pejax
1109fd6997
feat: Add package version detection for sbt projects (#3274) 2021-12-03 01:56:06 -05:00
David Knaack
77182a9a22
chore(clippy): fix new clippy lints (#3294) 2021-12-03 00:54:56 -06:00
dependabot[bot]
76c7baac7b
build: bump toml_edit from 0.10.0 to 0.10.1 (#3292)
Bumps [toml_edit](https://github.com/ordian/toml_edit) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/ordian/toml_edit/releases)
- [Changelog](https://github.com/ordian/toml_edit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ordian/toml_edit/compare/v0.10.0...v0.10.1)

---
updated-dependencies:
- dependency-name: toml_edit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-02 08:05:41 +01:00
dependabot[bot]
9f93ee8b19
build: bump git2 from 0.13.24 to 0.13.25 (#3293)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.24 to 0.13.25.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.24...0.13.25)

---
updated-dependencies:
- dependency-name: git2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-02 08:05:38 +01:00
dependabot[bot]
e44e1a44ca
build: bump open from 2.0.1 to 2.0.2 (#3288)
Bumps [open](https://github.com/Byron/open-rs) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/Byron/open-rs/releases)
- [Changelog](https://github.com/Byron/open-rs/blob/main/changelog.md)
- [Commits](https://github.com/Byron/open-rs/compare/open-v2.0.1...v2.0.2)

---
updated-dependencies:
- dependency-name: open
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-01 23:05:48 +01:00
dependabot[bot]
2a4b922da4
build: bump clap from 2.33.3 to 2.34.0 (#3285)
Bumps [clap](https://github.com/clap-rs/clap) from 2.33.3 to 2.34.0.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/commits)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-30 08:06:20 +01:00