1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-18 19:15:14 +00:00
Commit Graph

3154 Commits

Author SHA1 Message Date
Matan Kushner
3ef9a953c1
ci: Add brew bump formula version 2019-10-04 23:36:49 +09:00
Matan Kushner
fcaf2592e6
ci: Replace cargo-publish-all with cargo 2019-10-04 23:22:14 +09:00
Matan Kushner
b8313da2cc
chore(bump): v0.20.1 2019-10-04 22:33:38 +09:00
Matan Kushner
05210b9510
refactor: Go from Rust workspaces to a package with nested packages (#480) 2019-10-04 22:30:46 +09:00
Matan Kushner
e90a3768da
ci: Use target as matrix instead of OS 2019-10-04 21:47:09 +09:00
Zhenhui Xie
cda01deffa refactor: Rewrite aws and character module to use module config (#459) 2019-10-04 21:42:33 +09:00
Matan Kushner
1d701729cf
ci: Add the Crates.io token secret for publishing 2019-10-04 19:04:46 +09:00
Matan Kushner
1fb0cb12eb
docs: Use absolute links for translations 2019-10-04 18:20:51 +09:00
Matan Kushner
49ad1806f8
docs: Use absolute links for flag images 2019-10-04 18:15:23 +09:00
Matan Kushner
0a29540146
chore(bump): v0.20.0 correctly 2019-10-04 18:05:18 +09:00
Matan Kushner
1cab6854bc
chore(bump): v0.20.0 2019-10-04 18:02:17 +09:00
Matan Kushner
abcea4b3d9
docs(i18n): Update Crowdin translations (#441) 2019-10-04 17:57:43 +09:00
dependabot-preview[bot]
7fc85669bb
chore(deps): Bump serde_json from 1.0.40 to 1.0.41 (#478) 2019-10-04 08:47:17 +00:00
Matan Kushner
aee46dd678
ci: Update CI and migrate publish job to Actions (#455)
- Replace hecrj/setup-rust-action with actions-rs tools
- Add a Cargo Audit test step
- Move cargo publish step from Azure Pipelines to GitHub Actions
- Use cargo-publish-all to publish multiple packages at once
- Automate the creation of release notes
2019-10-04 15:12:48 +09:00
Thomas O'Donnell
34bca5a035 fix: Add Kubernetes to the default prompt order (#466) 2019-10-03 15:52:07 +09:00
Nick Young
6621e4c859 feat: Add dotnet module (#416)
Adds a .NET module, which preferentially parses local/git files to get
the .NET version.
2019-10-02 01:56:48 -05:00
Zhenhui Xie
f14392b5ea refactor: Rewrite battery module to use module config (#454) 2019-10-02 14:55:16 +09:00
Thomas O'Donnell
9fc5a43355 feat: Add Kubernetes Module (#404)
Adds a Kubernetes module, which works by parsing kubeconfig.
2019-10-01 13:58:24 -05:00
Matan Kushner
6888f3619a Update Crowdin configuration file 2019-10-01 12:23:44 +09:00
Matan Kushner
b744d7afb2
docs: Reword command duration option 2019-10-01 00:01:45 +09:00
Zhenhui Xie
c39506c6f6 chore: Cleanup after the config refactor (#453) 2019-09-30 23:56:05 +09:00
allcontributors[bot]
52bd37b372 docs: add bijancn as a contributor (#452) 2019-09-30 22:20:30 +09:00
Zhenhui Xie
dd0b1a1aa2 refactor: Refactoring config (#383)
This PR refactors config and puts configuration files for all modules in `configs/`.
2019-09-30 21:10:35 +09:00
Matan Kushner
9e9eb6a8ef
fix: Disable memory_usage by default (#451) 2019-09-30 16:04:49 +09:00
Tom Hotston
7588137b09 feat: Added ability for setting command duration prefix (#414) 2019-09-30 14:26:32 +09:00
Zhenhui Xie
61604a4a8e feat: Allow segment-specific styling (#378)
Adds the ability to style individual segments in the prompt.

The segment documentation is not fully updated in this commit and is waiting on
a config refactor so that we can write unified docs.
2019-09-29 23:03:07 -05:00
allcontributors[bot]
34b8ef0b6f docs: add qryxip as a contributor (#446) 2019-09-30 12:03:54 +09:00
Ryo Yamashita
b7dc6c5e96 fix: Prevent rust module from installing toolchains (#426)
Prevents the rust module from installing rustup toolchains.

Previously, the rust module would trigger rustup toolchain installations in some cases,
leading to frozen prompts while rustup downloads/installs components. This commit
changes the behaviour to avoid this.
2019-09-29 21:39:48 -05:00
Thomas O'Donnell
d335abca3d ci: Remove unused java testsuite (#445) 2019-09-30 10:38:53 +09:00
Andrew Houts
0eafb2bde7 feat: add memory usage module (#403)
Adds a module to display system memory and swap usage.
2019-09-29 00:55:48 -05:00
yuri
63a45d01f9 feat: Use tilde for home_directory when under version control (#439) 2019-09-28 22:50:38 -05:00
allcontributors[bot]
8c56729d26 docs: add TsubasaKawajiri as a contributor (#440) 2019-09-28 23:07:26 +09:00
allcontributors[bot]
7ede78b155 docs: update andytom as a contributor (#438) 2019-09-28 23:06:51 +09:00
Matan Kushner
85956c7f94
docs(i18n): Finish translating documentation in Japanese (#433)
This last wave of translations has been completed on Crowdin.
2019-09-28 20:31:56 +09:00
Matan Kushner
c49e54b16b
docs: Add extra newlines around custom containers 2019-09-28 20:20:18 +09:00
Matan Kushner
a89f613c85
docs: Use static src for footer icon 2019-09-28 01:49:48 +09:00
Matan Kushner
b29891adf9
docs: Small fixes to the config docs 2019-09-28 01:17:53 +09:00
Matan Kushner
f0298ecb8a Update Crowdin configuration file 2019-09-27 12:23:45 +09:00
Zhenhui Xie
a56991cbc4 style: Fix rustfmt formatting warnings in CI (#432) 2019-09-27 12:18:24 +09:00
allcontributors[bot]
90c8f897af docs: add yuri1969 as a contributor (#430)
* docs: update README.md

* docs: update .all-contributorsrc
2019-09-26 17:31:56 +09:00
yuri
d3fc66c0c5 feat: Add Environment Variable module (#409) 2019-09-26 17:30:58 +09:00
Matan Kushner
74464957b2
chore(bump): v0.19.0 2019-09-26 13:11:51 +09:00
Thomas O'Donnell
b050c59708 feat: Add AWS module (#419)
Adds a module for displaying the current AWS profile based 
on the AWS_PROFILE envar.
2019-09-25 21:55:47 -05:00
allcontributors[bot]
80a9e7b9a6 docs: add bijancn as a contributor (#429) 2019-09-26 10:40:18 +09:00
Bijan Chokoufe Nejad
34112ef7a9 refactor: Refactor config.rs to pure functional style (#427)
- Replaced for loop that iterates over mutable state with a fold expression
- Unified the logging for the different accessors. The code is now screaming for further refactoring (get_module_config, get_as_bool, get_as_str, get_as_i64 and get_as_array are basically the same up to higher order functions but I didn't manage to get the life times right)
- Increased test coverage (especially a test case for none not at the end)
- Removed code comments that literally repeated the code in the next line (see e.g. https://blog.usejournal.com/stop-writing-code-comments-28fef5272752)
- Added TODO for the problematic line that swallows the None and produces Some(Style::new()) (this also happened before but in a less obvious way)
2019-09-26 10:38:36 +09:00
Matan Kushner
caaf3bc6a9
revert: Revert the command duration in ms feature (#380) (#425)
Due to incompatibilities with the macOS date utility, we are
temporarily reverting this feature.

Refs: #c5e971a
2019-09-25 17:13:58 +09:00
allcontributors[bot]
e6761e63ed docs: add TomHotston as a contributor (#421)
* docs: update README.md

* docs: update .all-contributorsrc
2019-09-25 15:10:21 +09:00
Tom Hotston
c5e971aef8 feat: Add ability for command duration in milliseconds (#380) 2019-09-24 14:03:10 -05:00
allcontributors[bot]
c9878cab69 docs: add gimbar as a contributor (#413) 2019-09-24 09:35:04 +09:00
dependabot-preview[bot]
328bcc9ec4 chore(deps): Bump once_cell from 1.1.0 to 1.2.0 (#411)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.1.0 to 1.2.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.1.0...v1.2.0)

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

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-09-23 04:57:47 -04:00