1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-30 20:59:13 +00:00
Commit Graph

907 Commits

Author SHA1 Message Date
Matan Kushner
a670e01c22
ci: upgrade Python for integration tests (#1243) 2020-05-21 13:13:51 -04:00
Dario Vladović
c008f4041b
feat: add Zig module (#1231) 2020-05-21 18:49:49 +02:00
Hirochika Matsumoto
9e8f35d746
feat(ocaml): Add OCaml module (#1218)
* Add OCaml module

* Update README.md accordingly

* Fix typo

* Add Reason support

Obtain OCaml version using `-vnum` flag.
Extend conditions to match projects using jbuild, esy
or merlin.

* Update README.md

Co-authored-by: Dario Vladovic <d.vladimyr@gmail.com>
2020-05-21 18:43:13 +02:00
Matt Kadlubowski
1b2ea77b1c
docs: Updated config with a tip for PowerShell user (#1216)
Added a tip with information about how a PowerShell user can
override default starship.toml file location path in his PowerShell
profile.
2020-05-21 18:22:45 +02:00
dependabot-preview[bot]
36d1ec734c
build(deps): bump git2 from 0.13.5 to 0.13.6 (#1239)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.5 to 0.13.6.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.5...0.13.6)

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-20 11:39:40 -04:00
Matan Kushner
90dd4eebd6
docs: fix example Starship implementation in bash 2020-05-19 20:26:44 -04:00
dependabot-preview[bot]
bbe9a1b10a
build(deps): bump byte-unit from 3.0.3 to 3.1.1 (#1234)
Bumps [byte-unit](https://github.com/magiclen/byte-unit) from 3.0.3 to 3.1.1.
- [Release notes](https://github.com/magiclen/byte-unit/releases)
- [Commits](https://github.com/magiclen/byte-unit/compare/v3.0.3...v3.1.1)

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-19 09:47:50 +02:00
Matan Kushner
77c42dca73
docs(i18n): new Crowdin translations (#1170) 2020-05-15 11:55:21 -04:00
Matan Kushner
0dfe3f7a2c
chore(release): v0.41.3 2020-05-15 11:09:38 -04:00
Matan Kushner
284ee4e1ed
revert(ci): download all artifacts at once
This reverts commit 4d55936f35.
2020-05-15 11:09:07 -04:00
Matan Kushner
99374eabdb
chore(release): v0.41.2 2020-05-15 10:51:45 -04:00
dependabot-preview[bot]
5694c378d2
build(deps): bump sysinfo from 0.14.1 to 0.14.2 (#1212)
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.14.1 to 0.14.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-05-15 09:41:13 +02:00
Matan Kushner
879f2ec5da
chore(release): v0.41.1 2020-05-14 12:50:43 -04:00
dependabot-preview[bot]
a913d1d0f4
build(deps): bump os_info from 2.0.4 to 2.0.5 (#1197)
Bumps [os_info](https://github.com/darkeld3r/os_info) from 2.0.4 to 2.0.5.
- [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/2.0.4...2.0.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-05-14 11:09:44 +02:00
dependabot-preview[bot]
a096e23749
build(deps): bump once_cell from 1.3.1 to 1.4.0 (#1198)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.3.1 to 1.4.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.3.1...v1.4.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-05-14 09:49:29 +02:00
Thomas O'Donnell
9251778a9c
docs: correct the configuration docs (#1195) 2020-05-13 18:19:21 -04:00
dependabot-preview[bot]
5dcdba5135
build(deps): bump clap from 2.33.0 to 2.33.1 (#1190)
Bumps [clap](https://github.com/clap-rs/clap) from 2.33.0 to 2.33.1.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v2.33.1/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v2.33.0...v2.33.1)

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-12 09:53:55 +02:00
dependabot-preview[bot]
b4ecc6b162
build(deps): bump os_info from 2.0.2 to 2.0.4 (#1187)
Bumps [os_info](https://github.com/darkeld3r/os_info) from 2.0.2 to 2.0.4.
- [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.2...2.0.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-05-11 09:30:16 +02:00
dependabot-preview[bot]
399a9a1d9e
build(deps): bump serde_json from 1.0.52 to 1.0.53 (#1186)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.52 to 1.0.53.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.52...v1.0.53)

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-11 09:28:10 +02:00
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