1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-05 03:13:14 +00:00
Commit Graph

1885 Commits

Author SHA1 Message Date
Kevin Pullin
9924af55db
feat(aws): Use AWS_VAULT as the profile if set (#984)
* Use AWS_VAULT as the profile if set

[aws-vault](https://github.com/99designs/aws-vault) sets
the `AWS_VAULT` env var instead of `AWS_PROFILE` when an
aws-vault session is active.

This PR adds support for reading the AWS profile value from
the `AWS_VAULT` env var, giving priority to `AWS_VAULT` if both
it and `AWS_PROFILE` are set.

* Update docs for AWS_VAULT
2020-04-06 16:59:56 +02:00
dependabot-preview[bot]
7e7ec4e682 build(deps): bump serde_json from 1.0.50 to 1.0.51
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.50 to 1.0.51.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.50...v1.0.51)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-06 06:03:11 +00:00
Barnaby Keene
b685bb2954
feat: add docker context module (#996)
* feat: add docker context module

Adds a simple module that checks for a Docker config file and if present, reads the `currentContext` value out and displays on the prompt with a whale.

* feat: add `only_with_compose_yml` option to docker_context

When enabled, will only show the docker context name if there's a docker-compose.yml file in the current directory.

* Update src/modules/docker_context.rs

Co-Authored-By: Thomas O'Donnell <andytom@users.noreply.github.com>

* Update src/modules/docker_context.rs

Co-Authored-By: Thomas O'Donnell <andytom@users.noreply.github.com>

* rename `only_with_compose_yml` configuration key to a more generic `only_with_files`

* Update src/modules/docker_context.rs

Co-Authored-By: Thomas O'Donnell <andytom@users.noreply.github.com>

* re-order configuration table

* Update docs/config/README.md

Co-Authored-By: Thomas O'Donnell <andytom@users.noreply.github.com>

* Update src/configs/docker_context.rs

Co-Authored-By: Thomas O'Donnell <andytom@users.noreply.github.com>

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2020-04-05 21:42:55 +02:00
dependabot-preview[bot]
7a39ba6ff1
build(deps): bump git2 from 0.13.0 to 0.13.1 (#1043)
* build(deps): bump git2 from 0.13.0 to 0.13.1

Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.13.0...0.13.1)

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

* Fix git2 build failures

Fix the dependencies for git2 based on the suggestions from
https://github.com/rust-lang/git2-rs/issues/540.

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Thomas O'Donnell <andy.tom@gmail.com>
2020-04-03 22:40:21 +02:00
Shu Kutsuzawa
bd016b6ce2
feat: Enable to display language version when .<lang>-version file exists. (#1028)
* adjust https://github.com/sonnym/elmenv

* adjust https://github.com/syndbg/goenv

* adjust https://github.com/jenv/jenv

* adjust https://github.com/nodenv/nodenv

* adjust https://github.com/phpenv/phpenv

* adjust https://github.com/rbenv/rbenv

* add description

* golang.rs is executed rustfmt

* add testcases
2020-04-03 21:02:28 +02:00
sk1985
e38be5073f
feat(kubernetes): context aliases (#1015)
* Allow kubernetes module to use aliases for contexts

* documentation for kubernetes context aliasing

* Apply suggestions from code review: consistent ordering of options in documentation

Co-Authored-By: Thomas O'Donnell <andytom@users.noreply.github.com>

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2020-04-03 20:18:44 +02:00
Shu Kutsuzawa
dba3467dee
feat: Add a julia module (#1030)
* add a julia module

* Update docs/config/README.md

Co-Authored-By: Thomas O'Donnell <andytom@users.noreply.github.com>

* fix based on https://github.com/starship/starship/pull/1030#pullrequestreview-381767326

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2020-04-03 20:16:34 +02:00
Shu Kutsuzawa
edcec7eed8
feat(package): Add project version for julia (#1036)
* add project version (for julia) to package module

* update docs
2020-04-03 20:16:22 +02:00
Matan Kushner
3ab4bab885
docs(i18n): new Crowdin translations (#919) 2020-04-03 12:35:39 -04:00
David Knaack
55503bb77b
perf(dotnet): fail faster in the dotnet module (#1034) 2020-04-03 12:34:35 -04:00
Matan Kushner
b3cc7b4016
chore: update "ask a question" to direct to the new discussion page 2020-04-02 00:10:09 -04:00
Matan Kushner
a281c0d094
chore: create issue template config file 2020-04-02 00:08:40 -04:00
dependabot-preview[bot]
a9d3143b9f build(deps): bump serde_json from 1.0.48 to 1.0.50
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.48 to 1.0.50.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.48...v1.0.50)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-30 06:13:43 +00:00
dependabot-preview[bot]
a3b7b7b56a build(deps): bump regex from 1.3.5 to 1.3.6
Bumps [regex](https://github.com/rust-lang/regex) from 1.3.5 to 1.3.6.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.3.5...1.3.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-25 05:44:08 +00:00
dependabot-preview[bot]
ecc01af23e build(deps): bump sysinfo from 0.11.7 to 0.12.0
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.11.7 to 0.12.0.
- [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 17:44:05 +00:00
oliver
4e0382d6bb
docs(memory_usage): Update example to have disabled = false (#1027) 2020-03-23 12:53:04 -04:00
Matan Kushner
ad6750113e
chore(bump): v0.38.1 2020-03-22 18:03:53 -04:00
Matan Kushner
bbba4e1657
fix: change command failure log level to trace
Closes #1020
Closes #1024
2020-03-22 17:58:46 -04:00
Matan Kushner
f267b3debe
chore(bump): v0.38.0 2020-03-19 15:43:24 -04:00
Matan Kushner
3211b36d5d
chore(bump): v0.37.1 2020-03-19 14:06:41 -04:00
Matan Kushner
ae7077f1f8
Update Sponsor badge to support the Starship org 2020-03-19 12:16:30 -04:00
dependabot-preview[bot]
3c0718cca6 build(deps): bump os_info from 2.0.1 to 2.0.2
Bumps [os_info](https://github.com/darkeld3r/os_info) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/darkeld3r/os_info/releases)
- [Changelog](https://github.com/DarkEld3r/os_info/blob/master/Changelog.md)
- [Commits](https://github.com/darkeld3r/os_info/compare/v2.0.1...v2.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-16 05:46:37 +00:00
dependabot-preview[bot]
d5cf340a72 build(deps): bump git2 from 0.12.0 to 0.13.0
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.12.0...git2-curl-0.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-16 05:46:00 +00:00
Mick Hohmann
be72797fd2
docs: alphabetize modules in config docs (#981) 2020-03-15 21:07:08 -04:00
dependabot[bot]
950f976ac7
build(deps): bump acorn from 6.4.0 to 6.4.1 in /docs (#1008)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-15 21:06:16 -04:00
David Knaack
56d475578e
fix: possible fix for Intermittent Test Failures in GH Actions (#987)
* fix: possible fix for Intermittent Test Failures in GH Actions

* undo some of the chnages to directory.rs

* typo

* add docs
2020-03-15 12:12:25 -05:00
David Knaack
fef8cc8bbd
improvement: replace reqwest with attohttpc (#999) 2020-03-14 21:07:34 -04:00
dependabot-preview[bot]
8479e72b3e build(deps): bump regex from 1.3.4 to 1.3.5
Bumps [regex](https://github.com/rust-lang/regex) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.3.4...1.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-14 16:08:56 +00:00
Thomas O'Donnell
f790b67e3d
refactor: Fix new Clippy suggestions (#1006)
* Fix new Clippy suggestions

This just cleans up a few new suggestions from Clippy.

* Dummy commit to trigger CI
2020-03-14 11:37:51 -04:00
dependabot-preview[bot]
cae6a3dfc3 build(deps): bump sysinfo from 0.11.6 to 0.11.7
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.11.6 to 0.11.7.
- [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-12 05:39:54 +00:00
dependabot-preview[bot]
af5071d6db build(deps): bump sysinfo from 0.11.4 to 0.11.6
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.11.4 to 0.11.6.
- [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 06:05:18 +00:00
dependabot-preview[bot]
47ba291616 build(deps): bump open from 1.3.4 to 1.4.0
Bumps [open](https://github.com/Byron/open-rs) from 1.3.4 to 1.4.0.
- [Release notes](https://github.com/Byron/open-rs/releases)
- [Changelog](https://github.com/Byron/open-rs/blob/master/changelog.md)
- [Commits](https://github.com/Byron/open-rs/compare/v1.3.4...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 06:00:55 +00:00
dependabot-preview[bot]
3f22e33ef1 build(deps): bump chrono from 0.4.10 to 0.4.11
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.10 to 0.4.11.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.10...v0.4.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 06:00:11 +00:00
Basix
8b4489768b
fix(utils): print log for exec_cmd failure (#982) 2020-03-06 16:17:34 -05:00
dependabot-preview[bot]
b684d80aab build(deps): bump sysinfo from 0.11.3 to 0.11.4
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.11.3 to 0.11.4.
- [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-06 05:40:25 +00:00
Matan Kushner
f79baf1a63
chore: add Open Collective to FUNDING.yml (#976) 2020-03-05 10:57:04 -05:00
Matan Kushner
d894ef5ad3
feat: make reqwest an optional dependency (#979) 2020-03-05 10:53:58 -05:00
Kevin Song
7f82dd66ed
fix: check if editor is not found for configure (#961)
* fix: check if editor is not found for `configure`

STD_EDITOR falls back on `vi` if $EDITOR and $VISUAL is not set.
However, some machines might not have `vi` symlinked or installed and a
bad error message is displayed. This commit adds a better error message.

* fix lint errors

* Change NotFound to write to stderr instead of panic!

Oh wow writing rust makes my commit messages look very enthusiastic!
2020-03-05 09:50:34 -06:00
Matan Kushner
d0e1904758
feat(package): ignore private JS packages (#975)
`private: true` in `package.json` files means that the package is not supposed to be published to npm, which makes the `version` field meaningless, so we should probably ignore it to not clutter the prompt too much.
2020-03-05 10:49:11 -05:00
dependabot-preview[bot]
0674007bfe build(deps): bump reqwest from 0.10.3 to 0.10.4
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.10.3 to 0.10.4.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.10.3...v0.10.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-04 05:38:54 +00:00
Matan Kushner
28af0eb596
chore: remove .all-contributorsrc 2020-03-03 14:25:18 -05:00
Kevin Song
f2fdaa2d31
docs(elixir): Minor typo fix for config docs (#971) 2020-03-02 19:06:38 -05:00
Matan Kushner
5a25ec3c71
chore(bump): v0.37.0 2020-03-01 22:32:48 -05:00
KokaKiwi
243e97cfe6
feat: add Elixir module (#437) 2020-03-01 22:29:27 -05:00
Christopher Goh
1eabd52725
docs(time): add missing quotations in options and examples (#967) 2020-02-28 13:01:47 -05:00
dependabot-preview[bot]
b27e8466ed build(deps): bump git2 from 0.11.0 to 0.12.0
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.11.0...git2-curl-0.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-27 08:41:45 +00:00
dependabot-preview[bot]
cc73beaa79 build(deps): bump reqwest from 0.10.2 to 0.10.3
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.10.2...v0.10.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-27 05:51:45 +00:00
dependabot-preview[bot]
68efcc1286 build(deps): bump sysinfo from 0.11.2 to 0.11.3
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.11.2 to 0.11.3.
- [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-27 05:39:27 +00:00
Tadej Novak
7e66791cb2
feat: add singularity module (#932) 2020-02-26 11:18:19 -05:00
dependabot-preview[bot]
15f4202df1 build(deps): bump nom from 5.1.0 to 5.1.1
Bumps [nom](https://github.com/Geal/nom) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/Geal/nom/releases)
- [Changelog](https://github.com/Geal/nom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Geal/nom/compare/5.1.0...5.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-25 05:41:24 +00:00