1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-28 04:05:04 +00:00
Commit Graph

367 Commits

Author SHA1 Message Date
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
Iván
74e6170f9f ​docs: Fix typo (confguring ➜ configuring) (#385) 2019-09-17 12:41:35 -04:00
allcontributors[bot]
aa031f3801 docs: update bookun as a contributor (#381) 2019-09-16 12:33:41 -04:00
Shu Kutsuzawa
f794574be8 docs(i18n): Translate #367 to Japanese (#379)
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 (#332)
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 (#377) 2019-09-15 16:46:13 -04:00
Kutsuzawa Ryo
7a98ec1d8e feat: Add configuration for the git_status prefix and suffix (#367) 2019-09-15 16:44:53 -04:00
Nikodem Rabuliński
8014e9276e docs: Fix default order in docs (#376) 2019-09-15 14:57:30 -04:00
Shu Kutsuzawa
af6ba3e502 docs(i18n): Translate #369 to Japanese (#374) 2019-09-15 14:55:02 -04:00
Thomas O'Donnell
653def05f0 Enable the python module for tox files (#369)
Enable the python module if the current directory contains a `tox.ini`
file.
2019-09-15 12:21:40 -04:00
allcontributors[bot]
36354aaa79 docs: add heyrict as a contributor (#372) 2019-09-15 10:49:22 -04:00
Shu Kutsuzawa
19bb2a4a0a docs(i18n): Translate advanced config to Japanese (#371) 2019-09-15 10:39:26 -04:00
dependabot-preview[bot]
544fa00c57 chore(deps): Bump chrono from 0.4.6 to 0.4.9 (#340)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.6 to 0.4.9.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.6...v0.4.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-15 10:28:01 -04:00
Nick Young
7e891f17c1 perf: Lazy load files from directory (#335)
Changes context to use `once_cell` to lazily evaluate directory listing on first use.
2019-09-14 09:23:53 -05:00
Matan Kushner
8f03c14582
docs: Reword the default prompt_order docs 2019-09-13 10:24:07 -04:00
Shu Kutsuzawa
8a0aa3907c docs(i18n): Fixed translation docs(battery, git_branch, git_stat… (#363) 2019-09-13 10:10:55 -04:00
Shu Kutsuzawa
d5f9775660 docs(i18n): Fixed translation docs (#361) 2019-09-12 22:29:42 -04:00
Shu Kutsuzawa
cd218a137a docs(i18n): Translated #318 to Japanese (#359)
Signed-off-by: heyrict <xiezh0831@yahoo.co.jp>
2019-09-12 21:38:58 -04:00
Shu Kutsuzawa
0e52b504ea docs(i18n): Translated #358 to Japanese (#360)
Signed-off-by: Kutsuzawa Ryo <kutsuzawa2851@gmail.com>
2019-09-12 21:31:42 -04:00
Matan Kushner
3e23a9a73c chore: Rename integration_test to acceptance_test (#356) 2019-09-12 18:01:13 -05:00
Rob Warner
373493be85 feat: Add support for italic styles (#354) (#358) 2019-09-12 16:10:42 -05:00
allcontributors[bot]
b25046e897 docs: add bookun as a contributor (#357) 2019-09-12 15:42:48 -04:00
Shu Kutsuzawa
482f005d58 docs(i18n): Localize the configuration documentation in Japanese (#339) 2019-09-12 15:41:23 -04:00