1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-24 21:57:41 +00:00
Commit Graph

1869 Commits

Author SHA1 Message Date
Matan Kushner
800fbec0cf
fix: update continuation prompt to be more minimal (#3374)
Co-authored-by: Kevin Song <chips@ksong.dev>
2022-01-01 14:39:08 -05:00
Ryan Cohen
4deaa02d6f
feat: set a continuation prompt for supporting shells (#3322)
* feat: set a continuation prompt for supporting shells (#3134)

* docs: fixed wording of documentation

* fix: continuation prompt is now only set once

* fix(docs): fixed typo in advanced-config/README.md

Co-authored-by: Segev Finer <segev208@gmail.com>

* fix: update --continuation argument

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

* fix: updated continuation prompt

- PROMPT2 was fixed to be set only once in zsh.
- `continuation_symbol` and `continuation_format` were removed in
  place of a single variable; `continuation_prompt`.
- The continuation prompt was moved out of the character module.

* fix: ran rustfmt

* docs: updated continuation prompt docs

Co-authored-by: Segev Finer <segev208@gmail.com>
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2022-01-01 14:12:11 +01:00
Kevin Song
3f97068538
docs: Update GitHub ISSUE_TEMPLATE (#3366)
Co-authored-by: Matan Kushner <hello@matchai.dev>
2021-12-31 04:06:34 -05:00
David Knaack
2b405042b9
feat(xonsh): support rprompt (#3362) 2021-12-31 08:23:01 +01:00
Ikko Ashimine
c5a5fc2820
chore(directory): fix typo (#3364)
seperators -> separators
2021-12-31 08:22:46 +01:00
Kevin Song
23764675c0
docs: Add nu_indicator to doc tables (#3365) 2021-12-31 08:20:53 +01:00
dependabot[bot]
087fab330c
build: bump toml_edit from 0.12.1 to 0.12.2 (#3368)
Bumps [toml_edit](https://github.com/ordian/toml_edit) from 0.12.1 to 0.12.2.
- [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.1...v0.12.2)

---
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-31 10:05:25 +03:00
David Knaack
3b7446fdf3
fix(rust): fix overrides on windows and set cwd (#3359) 2021-12-30 18:24:21 -06:00
arcnmx
a95332485b
perf(git_status): tweak exec flags to omit unnecessary info (#3287)
* perf(git_status): tweak flags to omit extra info

`git status` can be prohibitively slow on some repos, so allow the
config to influence what flags are passed to git. For instance, if there
is no configured symbol for untracked files, tell git to omit them from
its output. This can easily result in a 2~10x speedup in many cases, but
requires the user to opt-in to hiding information from the prompt.

* docs(git_status): add ignore_submodules option
2021-12-30 15:12:53 -06:00
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