1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-26 11:37:32 +00:00
Commit Graph

888 Commits

Author SHA1 Message Date
Evie ​Snuggle
8f7db1da68
docs: update license to include 2020 (#1184) 2020-05-10 19:14:28 -04:00
John Letey
a3e12a1112
ci: Update Python to 3.8.2 (#1181) 2020-05-08 14:25:46 +02:00
Alan Pope
ee63a4fa32
fix: snap build failure (#1177) 2020-05-06 20:29:09 -04:00
Hendrik Rombach
108193103d
fix(git): show branch name in fresh repo (unborn master) (#1093)
* fix: branch_name in fresh repo (unborn master)

* test: add test for unborn branch_name fix
2020-05-06 11:19:53 +02:00
Matan Kushner
4607e21fa6
docs(i18n): new Crowdin translations (#1059) 2020-05-05 13:07:34 -04:00
dependabot-preview[bot]
761fa020df
build(deps): bump term_size from 0.3.1 to 0.3.2 (#1167)
Bumps [term_size](https://github.com/kbknapp/term_size-rs) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/kbknapp/term_size-rs/releases)
- [Changelog](https://github.com/clap-rs/term_size-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kbknapp/term_size-rs/commits/v0.3.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-04 13:53:24 +02:00
Jean Gautier
02edad0c66
fix(directory): avoid confusing modules with PowerShell paths (#1114)
* Avoid confusing modules with PowerShell paths

* Avoid confusing modules with PowerShell paths

Powershell supports PSDrives (https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/new-psdrive?view=powershell-7) that allow to create "logical" drives mapped to actual Windows drives.

* Preserve Windows directories

* Preserve logical paths for Powershell

* Fix formating with cargo fmt

* Fix directory_in_root test

Co-authored-by: Jean Gautier <jean.gautier@ssi.gouv.fr>
2020-04-30 10:40:56 +02:00
Matan Kushner
4d55936f35
ci: download all artifacts at once 2020-04-29 11:28:08 -04:00
Matan Kushner
556191f510
chore(release): v0.41.0 2020-04-28 11:31:12 -04:00
Karol Fuksiewicz
eba4d87612
feat(package): configurable displaying package version for packages marked as private (#1109)
* feat(package): config for enabling package version in private packages

* test(package): refactor package tests
2020-04-28 10:53:30 +02:00
Oisín
8e8519552f
fix(haskell): avoid creating .lock files or downloading GHC (#1147)
* (Haskell) avoid creating .lock files or downloading GHC

* Fix stack command in mock expectations for Haskell module + befriend cargo fmt
2020-04-28 10:07:18 +02:00
Benedikt Reinartz
8c17f7b97c
feat(erlang): Add Erlang module (#1129) 2020-04-27 12:09:42 +02:00
dependabot-preview[bot]
3fc4cc4a2d
build(deps): bump git2 from 0.13.4 to 0.13.5 (#1151)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.4 to 0.13.5.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.4...0.13.5)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-27 10:15:21 +02:00
dependabot-preview[bot]
6c0ef6497b
build(deps): bump attohttpc from 0.12.0 to 0.13.0 (#1150)
Bumps [attohttpc](https://github.com/sbstp/attohttpc) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/sbstp/attohttpc/releases)
- [Commits](https://github.com/sbstp/attohttpc/compare/v0.12.0...v0.13.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-27 10:12:11 +02:00
John Letey
a3fef5becf
feat: Modify config keys from shell (#1095)
* feat: Modify config keys from shell

* chore: Fix clippy

* refactor: Add `configure` as alias

* chore: Remove redundant code

* fix: Soft error if user doesn't pass in valid key

* feat: Support integers and booleans

* chore: Fix clippy

* refactor: Use exit instead of abort

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

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2020-04-26 15:58:39 +02:00
Alexandru Macovei
decd4e2a5d
fix(haskell): add description for haskell, used by the explain command (#1141) 2020-04-25 14:34:01 +02:00
Alexandru Macovei
2c30f4bd9e
fix(crystal): Add Crystal module to default prompt order (#1140) 2020-04-24 19:37:34 +02:00
dependabot-preview[bot]
6eb32eb55d
build(deps): bump git2 from 0.13.3 to 0.13.4 (#1135)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.3 to 0.13.4.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.3...0.13.4)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-24 14:48:44 +02:00
Thomas O'Donnell
060689fa88
fix: Fix latest clippy suggestions (#1136)
Have removed some imports that Clippy says are not needed anymore.
2020-04-24 12:37:13 +02:00
dependabot-preview[bot]
b0bfed2a21
build(deps): bump git2 from 0.13.2 to 0.13.3 (#1132)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.2 to 0.13.3.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.2...0.13.3)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-23 09:33:37 +02:00
Federico Jaramillo Martínez
7aa9c8fab0
docs: Fix broken installation link anchor on README (#1033)
* Fix Installation link anchor on README

* Use fake anchor for Installation
2020-04-20 12:43:24 -05:00
Tim Visée
b2f203d043
docs: Remove unused closing tag from config page (#1125) 2020-04-20 14:51:36 +02:00
dependabot-preview[bot]
c9cd91e8e7 build(deps): bump sysinfo from 0.13.3 to 0.14.1
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.13.3 to 0.14.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-20 08:17:54 +00:00
dependabot-preview[bot]
7f55b52acf build(deps): bump regex from 1.3.6 to 1.3.7
Bumps [regex](https://github.com/rust-lang/regex) from 1.3.6 to 1.3.7.
- [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.6...regex-1.3.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 08:17:48 +00:00
dependabot-preview[bot]
1ab2ba9e4d build(deps): bump sysinfo from 0.13.2 to 0.13.3
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.13.2 to 0.13.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-04-16 05:47:14 +00:00
Thomas O'Donnell
d91b6b7137
test: Add null tests to modules that don't have them (#1104)
Have added some null tests to modules that don't already have them.
2020-04-15 09:55:32 +02:00
dependabot-preview[bot]
d13d508ca2
build(deps): bump sysinfo from 0.13.1 to 0.13.2 (#1101)
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-14 16:27:55 -04:00
Thomas O'Donnell
5272d5c1ce
ci(python): Fix broken tests (#1103)
Fix the python tests that depend of having the correct version of Python
installed on the build system.
2020-04-14 14:48:10 +02:00
Alex Jurkiewicz
965338df95
feat(python): Add scan_for_pyfiles option (#692)
Also adds two new entries to the list of hardcoded files to check:
setup.py and __init__.py.
2020-04-14 10:26:51 +02:00
Thomas O'Donnell
beed0acc6c
fix(python): Fix venv name not showing when using pyenv (#1046)
This fixes an issue where the name of the virtual environment is not
being shown when using the `pyenv_version_name` setting.
2020-04-14 10:23:57 +02:00
Stanisław Barzowski
7c45f74d11
fix: Do not depend on user's config in conda tests (#1098)
The user's config is automatically loaded
in context.new_module. This change explicitly
sets the empty config to avoid depending on
the environment.

Without this fix, the tests do not pass
for users who have a custom symbol defined
for conda. This prevents installing/upgrading
from Arch Linux AUR.
2020-04-13 21:23:49 +02:00
Thomas O'Donnell
05e323da75
chore: Add more detailed logging for executing cmds (#1097)
This makes some changes to the logging to make debugging what is
happening a bit easier when we run external commands.
2020-04-13 15:22:28 +02:00
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