Commit Graph

581 Commits

Author SHA1 Message Date
Matan Kushner 9e9eb6a8ef
fix: Disable memory_usage by default () 2019-09-30 16:04:49 +09:00
Tom Hotston 7588137b09 feat: Added ability for setting command duration prefix () 2019-09-30 14:26:32 +09:00
Zhenhui Xie 61604a4a8e feat: Allow segment-specific styling ()
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 () 2019-09-30 12:03:54 +09:00
Ryo Yamashita b7dc6c5e96 fix: Prevent `rust` module from installing toolchains ()
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 () 2019-09-30 10:38:53 +09:00
Andrew Houts 0eafb2bde7 feat: add memory usage module ()
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 () 2019-09-28 22:50:38 -05:00
allcontributors[bot] 8c56729d26 docs: add TsubasaKawajiri as a contributor () 2019-09-28 23:07:26 +09:00
allcontributors[bot] 7ede78b155 docs: update andytom as a contributor () 2019-09-28 23:06:51 +09:00
Matan Kushner 85956c7f94
docs(i18n): Finish translating documentation in Japanese ()
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 () 2019-09-27 12:18:24 +09:00
allcontributors[bot] 90c8f897af docs: add yuri1969 as a contributor ()
* docs: update README.md

* docs: update .all-contributorsrc
2019-09-26 17:31:56 +09:00
yuri d3fc66c0c5 feat: Add Environment Variable module () 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 ()
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 () 2019-09-26 10:40:18 +09:00
Bijan Chokoufe Nejad 34112ef7a9 refactor: Refactor config.rs to pure functional style ()
- 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 () ()
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 ()
* 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 () 2019-09-24 14:03:10 -05:00
allcontributors[bot] c9878cab69 docs: add gimbar as a contributor () 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 ()
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 ()
* 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 () 2019-09-22 15:32:11 -05:00
Thomas O'Donnell 08340328dd refactor: Remove dead code in battery module () 2019-09-21 09:41:15 -05:00
Thomas O'Donnell 690300239b ci: Fix typo in Dockerfile () 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 () 2019-09-20 12:52:54 -04:00
Kevin Song c2875d99b6 feat: add support for logical paths in directory ()
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 () 2019-09-20 10:37:55 -04:00
allcontributors[bot] ac151f0ae8 docs: add hdevalke as a contributor ()
* 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 ()
* docs: update README.md

* docs: update .all-contributorsrc
2019-09-19 18:44:22 -05:00
Kuba Clark 71f03ec3e9 feat: Add Java Module ()
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 () 2019-09-18 11:43:59 -04:00
Shu Kutsuzawa e64d103e7c Add the all-contributor's table to README.ja.md () 2019-09-18 00:39:23 -04:00
Iván 74e6170f9f ​docs: Fix typo (confguring ➜ configuring) () 2019-09-17 12:41:35 -04:00
allcontributors[bot] aa031f3801 docs: update bookun as a contributor () 2019-09-16 12:33:41 -04:00
Shu Kutsuzawa f794574be8 docs(i18n): Translate to Japanese ()
Signed-off-by: cappyzawa <cappyzawa@yahoo.ne.jp>
Co-authored-by: Kutsuzawa Ryo <kutsuzawa2851@gmail.com>
2019-09-16 12:19:47 -04:00
Neil Kistner aa26c5bca4 fix: Update Module::is_empty to check value of segments ()
Previously, a set of empty segments would cause the module to print. This changes the 
logic of Module::is_empty to check that all the segments are empty instead.
2019-09-16 00:03:44 -05:00
allcontributors[bot] 121c55bac5 docs: Update bookun as a contributor () 2019-09-15 16:46:13 -04:00
Kutsuzawa Ryo 7a98ec1d8e feat: Add configuration for the `git_status` prefix and suffix () 2019-09-15 16:44:53 -04:00
Nikodem Rabuliński 8014e9276e docs: Fix default order in docs () 2019-09-15 14:57:30 -04:00
Shu Kutsuzawa af6ba3e502 docs(i18n): Translate to Japanese () 2019-09-15 14:55:02 -04:00