1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-09 14:51:04 +00:00
Commit Graph

1006 Commits

Author SHA1 Message Date
Matan Kushner
0ef7df4441
chore(bump): v0.40.1 2020-04-11 16:11:18 -04:00
Thomas O'Donnell
391add767f
revert: fix(git_branch,git_status): implement fallback branch_n… (#1092)
This reverts commit 8d90baf0eb.
2020-04-11 16:10:39 -04:00
Matan Kushner
4551a20d0e
chore(bump): v0.40.0 2020-04-11 13:55:56 -04:00
Matan Kushner
8d7da820a0
feat: add support for custom modules 2020-04-11 13:54:27 -04:00
Matan Kushner
8e5a64f67d
fix(ruby): do not assume length when retrieving version
Previous commit was missing conventional commit format
2020-04-11 13:54:14 -04:00
Grégoire Geis
15dc486e72
Add support for custom modules. (#916) 2020-04-11 18:37:24 +02:00
Daniel Lo Nigro
5b8f869e5e
docs: Add details about musl build to readme (#997)
* Add details about musl build to readme

* Move details to FAQ
2020-04-10 19:58:10 +02:00
Jonathan Knapp
19e8301ff1
Fix ruby version to not assume length (#1082) 2020-04-10 18:41:14 +02:00
Zhenhui Xie
b11fe2ad30
fix: Fix variable styles in string formatter (#1069)
* fix: Fix styling in variables

* fix: Fix clippy

* fix: Allow passing styles down to segments with no style

* fix: Fix clippy
2020-04-10 18:23:20 +02:00
dependabot-preview[bot]
d21e1b8970 build(deps): bump sysinfo from 0.13.0 to 0.13.1
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.13.0 to 0.13.1.
- [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-04-10 05:51:21 +00:00
John Letey
cd177cffa7
docs: update NerdFont preset to include new modules (#1077) 2020-04-09 12:49:54 -04:00
dependabot-preview[bot]
387d6ba52d build(deps): bump sysinfo from 0.12.0 to 0.13.0
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.12.0 to 0.13.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-04-09 05:45:35 +00:00
Udo Kramer
d27b263023
feat(package): Add project version for Elixir (#1067) 2020-04-08 18:39:54 +02:00
Bernardo Meurer
7718450311
feat(nix_shell): add symbol to nix-shell module (#1058)
* feat: add nix-shell icon

Fixes #1048

* style: make nix-shell bold blue by default

It better matches the whole theme around Nix and snowflakes.
2020-04-07 18:35:18 +02:00
Hendrik Rombach
8d90baf0eb
fix: implement fallback branch_name for bare git repos (#1035)
closes #686
2020-04-07 12:01:40 +02:00
Zhenhui Xie
b905743364
fix: Fix typo (#1054) 2020-04-07 11:58:10 +02:00
Shu Kutsuzawa
2f449af680
Fix julia icon based on https://julialang.org/community/standards/ (#1055)
According by this standards
> While "Julia" is a female name in many parts of the world, the programming language is not a person and does not have a gender.
2020-04-07 11:07:51 +02:00
Matan Kushner
b01b498b9e
docs(i18n): new Crowdin translations (#1047) 2020-04-06 14:48:26 -04:00
Matan Kushner
e94d5439ce
docs: add Open Collective to README
Closes #1044
2020-04-06 13:19:47 -04:00
Zhenhui Xie
22dc419a3e
improvement: add parser for format strings (#1021)
This PR implements the parser of format strings described in #624.
2020-04-06 13:16:18 -04:00
Thomas O'Donnell
3510bfe044 chore(bump): v0.39.0 2020-04-06 17:23:46 +02:00
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