Commit Graph

2537 Commits

Author SHA1 Message Date
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
Matan Kushner
478deb0957
chore(bump): v0.17.0 2019-09-12 14:12:02 -04:00
allcontributors[bot]
a549c9a14b docs: update heyrict as a contributor (#355) 2019-09-12 14:10:58 -04:00
谢祯晖
a6c64e8457 feat: Implement threshold based styling for battery module (#318) 2019-09-12 14:06:59 -04:00
Nick Young
2f94cac5b3 perf: Don't build git2 with ssh support (#341) 2019-09-12 09:12:13 -05:00
allcontributors[bot]
147945f3b6 docs: add heyrict as a contributor (#349) 2019-09-11 12:07:19 -04:00
allcontributors[bot]
657e757da5 docs: update cappyzawa as a contributor (#348) 2019-09-11 12:03:09 -04:00
allcontributors[bot]
14bdf823a6 docs: add unhappychoice as a contributor (#347) 2019-09-11 11:59:39 -04:00
Matan Kushner
dc419e8e8a
docs(i18n): Localize the landing page in Japanese (#333)
Co-Authored-By: Yuji Ueki <unhappychoice@gmail.com>
Co-Authored-By: Shu Kutsuzawa <cappyzawa@yahoo.ne.jp>
Co-Authored-By: heyrict <xiezh0831@yahoo.co.jp>
2019-09-11 11:57:24 -04:00
谢祯晖
37b5168bfe fix: Fixups for #138 (#343)
- Fix unused imports in unit tests
- Add accidently remove module "battery"
2019-09-11 08:43:40 -04:00
Kevin Song
54793c7d5a refactor: Separate shell initialization into files (#338)
Shell inits are now in a separate directory in the source code, with each shell getting its own script. Also adds a little DRY + commenting in init/mod.rs.
2019-09-10 20:31:08 -04:00
Daniel Illi-Zuberbühler
ee20d6b2ac fix: Prepend to PROMPT_COMMAND in Bash init (#336)
Bash init: do not overwrite PROMPT_COMMAND but prepend to it.
2019-09-10 15:12:29 -04:00
John Letey
f9a4514045 feat: Implement the prompt module for time (#138)
Add a module which displays the current time in a format requested by
the user. Disabled by default.
2019-09-10 12:54:40 -05:00
dependabot-preview[bot]
7d02f718c8 chore(deps): Bump git2 from 0.10.0 to 0.10.1 (#334)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.10.0...git2-curl-0.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-10 11:38:26 -04:00
Neil Kistner
9f70ffb7a7 fix: Lazy load git repo and only run module if not disabled (#306)
A couple of optimizations are done in this PR. One, we now will check config ahead of time to see if a module is disabled before running any module code. Also, we won't try to discover a git repository unless the module requests access to it.
2019-09-09 19:14:38 -04:00
allcontributors[bot]
dc8409333e docs: add Hofer-Julian as a contributor (#328)
* docs: update README.md

* docs: update .all-contributorsrc
2019-09-09 11:37:15 -05:00
Hofer-Julian
b2dcdaae5f docs: Include Docker related information in CONTRIBUTING (#321) 2019-09-09 11:10:45 -05:00
Hofer-Julian
c67734f46c fix: Turn off label confinement for integration_test script (#322)
Allows usage on OS using SELinux.
No influence on other OS is expected.
2019-09-08 16:46:12 -05:00
Weihang Lo
59d066c01f docs: reorder misplaced Ruby option example (#317) 2019-09-08 09:57:52 -05:00
Matan Kushner
29eedeb698
chore(bump): v0.16.0 2019-09-08 00:21:18 -04:00
Matan Kushner
dcc105ea1b
ci: Add a build target for musl 2019-09-08 00:20:21 -04:00
Kevin Song
9721666d33
feat: Add the ability to configure per-module color styles (#285)
Add parsing logic, config support, docs, and integration with other modules 
for custom styling of each module.
2019-09-07 19:33:06 -05:00
allcontributors[bot]
3e5cac9852 docs: add nickwb as a contributor (#310) 2019-09-07 15:17:00 -04:00
Neil Kistner
86c4a4bdcf refactor: Cleanup unwraps in create_fixture_repo function (#311) 2019-09-07 12:27:29 -05:00
Neil Kistner
6658b7f0aa fix: Fixture repo will now clone and set git config locally (#307) 2019-09-07 11:25:01 -05:00
allcontributors[bot]
3435b9cdc2 docs: add g2p as a contributor (#309) 2019-09-07 11:13:10 -04:00
Gabriel de Perthuis
69ebab46a4 fix: Don't trigger an extension match on hidden files (#299)
Addresses #52, closes #280.
2019-09-07 11:05:25 -04:00
Matan Kushner
61abe6dd7a
chore(bump): v0.15.0 2019-09-05 23:05:20 -04:00
allcontributors[bot]
313def1d92 docs: add wyze as a contributor (#297)
* docs: update README.md

* docs: update .all-contributorsrc
2019-09-05 12:47:45 -04:00
allcontributors[bot]
80f0600b4f docs: add nickwb as a contributor (#296) 2019-09-05 12:47:09 -04:00
Nick Young
eb724279da feat: Adds Git State module for showing "REBASING 2/3", etc. (#276)
- Adds the git_state module.
- Adds git_state to the default prompt order
- Updates the documentation to describe the git_state module
2019-09-05 12:45:04 -04:00