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

589 Commits

Author SHA1 Message Date
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
allcontributors[bot]
85a82c5745 docs: add gimbar as a contributor (#410)
* docs: update README.md

* docs: update .all-contributorsrc
2019-09-22 17:08:51 -05:00
Gimbar
702ad274cf feat: Add option to always show the username module (#408) 2019-09-22 15:32:11 -05:00
Thomas O'Donnell
08340328dd refactor: Remove dead code in battery module (#405) 2019-09-21 09:41:15 -05:00
Thomas O'Donnell
690300239b ci: Fix typo in Dockerfile (#406) 2019-09-21 09:07:50 -05:00
Matan Kushner
57b3d768fb
chore(bump): v0.18.0 2019-09-20 12:54:18 -04:00
谢祯晖
14fe246138 fix: Add display for unknown battery state (#316) 2019-09-20 12:52:54 -04:00
Kevin Song
c2875d99b6 feat: add support for logical paths in directory (#366)
Adds the ability for starship to display the logical path instead of the physical path.
2019-09-20 12:28:09 -04:00
Neil Kistner
cd892ebb60 fix: fish_pwd option handles repeated directories properly (#399) 2019-09-20 10:37:55 -04:00
allcontributors[bot]
ac151f0ae8 docs: add hdevalke as a contributor (#396)
* docs: update README.md

* docs: update .all-contributorsrc

* Add rows!

* docs: update README.md

* docs: update .all-contributorsrc
2019-09-20 01:16:54 -05:00
allcontributors[bot]
8af19df7c7 docs: add jakubclark as a contributor (#395)
* docs: update README.md

* docs: update .all-contributorsrc
2019-09-19 18:44:22 -05:00
Kuba Clark
71f03ec3e9 feat: Add Java Module (#314)
Implements a Java module which shows basic Java information when inside a Java project.
2019-09-19 18:02:53 -05:00
Matan Kushner
3eb97bd48f Update Crowdin configuration file 2019-09-18 18:30:13 -04:00
Matan Kushner
42ce87ce8a Update Crowdin configuration file 2019-09-18 16:37:30 -04:00
Shu Kutsuzawa
0959026266 docs(i18n): Reset translation of README (#390) 2019-09-18 11:43:59 -04:00
Shu Kutsuzawa
e64d103e7c Add the all-contributor's table to README.ja.md (#388) 2019-09-18 00:39:23 -04:00