Commit Graph

99 Commits

Author SHA1 Message Date
Matan Kushner
2051865363
chore(bump): v0.25.2 2019-10-25 20:53:05 +09:00
yuri
b7762a3e91 fix: Show Java version from OpenJ9 Java runtimes (#507)
This PR tries to improve the version detection across multiple Java VM vendors. The module captures both STDOUT and STDERR outputs of the java -Xinternalversion call.

Eclipse OpenJ9, Azul Zulu, SapMachine, Amazon Corretto and GraalVM outputs are unit tested now.
2019-10-25 10:00:05 +09:00
Matan Kushner
b9a7983559
chore(bump): v0.25.1 2019-10-20 17:54:30 +09:00
Matan Kushner
b34b1e9188
chore(bump): v0.25.0 2019-10-16 00:23:09 +09:00
Matan Kushner
49bf190929
chore(bump): v0.24.0 2019-10-15 00:19:18 +09:00
Matan Kushner
c668940292
chore(bump): v0.23.0 2019-10-13 13:35:00 +09:00
yuri
364f3a3564 build: Improve release binary optimization (#527) 2019-10-13 13:33:47 +09:00
Matan Kushner
14b266869f
chore(bump): v0.22.0 2019-10-09 11:54:08 +09:00
Matan Kushner
0f9b4ef603
chore: Remove the Azure Pipelines cargo badge 2019-10-06 16:12:36 +09:00
Matan Kushner
e41f3bcd84
chore(bump): v0.21.0 2019-10-06 16:02:07 +09:00
Matan Kushner
9e5fe9e500
chore(bump): v0.20.2 2019-10-05 19:05:17 +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
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
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
Matan Kushner
74464957b2
chore(bump): v0.19.0 2019-09-26 13:11:51 +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
Matan Kushner
57b3d768fb
chore(bump): v0.18.0 2019-09-20 12:54:18 -04:00
Matan Kushner
478deb0957
chore(bump): v0.17.0 2019-09-12 14:12:02 -04:00
Nick Young
2f94cac5b3 perf: Don't build git2 with ssh support (#341) 2019-09-12 09:12:13 -05: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
Matan Kushner
29eedeb698
chore(bump): v0.16.0 2019-09-08 00:21:18 -04:00
Matan Kushner
61abe6dd7a
chore(bump): v0.15.0 2019-09-05 23:05:20 -04:00
Matan Kushner
2bdfcb1373
chore(bump): v0.14.1 2019-09-05 00:38:55 -04:00
Matan Kushner
29325c6b50
chore(bump): v0.14.0 2019-09-05 00:15:29 -04:00
Andrew Houts
84688e4981 feat: add hostname module (#286)
Add a hostname module as requested by @chipbuster.
Displays the system hostname as provided by gethostname.
2019-09-04 13:03:31 -04:00
dependabot-preview[bot]
f2f7815960 chore(deps): Bump ansi_term from 0.12.0 to 0.12.1 (#277)
Bumps [ansi_term](https://github.com/ogham/rust-ansi-term) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/ogham/rust-ansi-term/releases)
- [Commits](https://github.com/ogham/rust-ansi-term/compare/v0.12.0...v0.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-03 11:04:47 -04:00
Titouan Vervack
59e8b1fc92 feat: added truncation_length/symbol to git_branch (#268)
Git branches can become very long (e.g. gitlab auto-generated branch
names), thus it would be nice to be able to truncate them to keep your
prompt lenght in line.

This patch adds two new options to the git_branch module:
* truncation_length: The amount of graphemes to of a gitbranch to
truncate to
* truncation_symbol: The symbol that should be used to indicate that a
branch name was trunctated

To be able to correctly work with UTF-8 graphemes, unicode-segmentation
was added as a dependency.
2019-09-02 15:56:59 -04:00
dependabot-preview[bot]
f8929c2d7d chore(deps): Bump rayon from 1.1.0 to 1.2.0 (#269)
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.1.0...v1.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-02 14:00:26 -04:00
Matan Kushner
cacaf66efe
chore(bump): v0.13.1 2019-08-27 14:10:48 -04:00
Matan Kushner
f61e7e2f87
chore(bump): v0.13.0 2019-08-26 23:10:58 -04:00
Matan Kushner
81ea165cec
chore: Add homepage to Cargo.toml 2019-08-26 15:07:47 -04:00
Bruno Bigras
0fa862a2e9 make the battery module optional for now (#234)
The 'battery' crate doesn't support Termux, so we are temporarily making the battery module optional.
2019-08-26 14:09:39 -04:00
dependabot-preview[bot]
f7754455e6 chore(deps): Bump lazy_static from 1.3.0 to 1.4.0 (#242)
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases)
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.3.0...1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 12:53:40 -04:00
Matan Kushner
2d10cb2b30
chore(bump): v0.12.2 2019-08-23 10:41:05 -04:00
Matan Kushner
b70f6f1ad3
chore(bump): v0.12.1 2019-08-22 19:04:10 -04:00
dependabot-preview[bot]
1943da86ce chore(deps): Bump git2 from 0.9.2 to 0.10.0 (#216)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.9.2 to 0.10.0.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.9.2...git2-curl-0.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-21 13:17:13 -04:00
Matan Kushner
a08cc971ab
chore(bump): v0.12.0 2019-08-20 00:45:42 -04:00
dependabot-preview[bot]
5b3641e50b chore(deps): Bump pretty_env_logger from 0.3.0 to 0.3.1 (#195)
Bumps [pretty_env_logger](https://github.com/seanmonstar/pretty-env-logger) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/seanmonstar/pretty-env-logger/releases)
- [Commits](https://github.com/seanmonstar/pretty-env-logger/compare/v0.3.0...v0.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 11:51:55 -04:00
Matan Kushner
b39d31aaa7
chore(bump): v0.11.0 2019-08-19 11:18:00 -04:00
Matan Kushner
d065dff695
chore(bump): v0.10.1 2019-08-16 15:04:12 -04:00
Matan Kushner
6c62c427ea
chore(bump): v0.10.0 2019-08-16 13:27:30 -04:00
dependabot-preview[bot]
3f4bd493d4 chore(deps): Bump toml from 0.5.1 to 0.5.3 (#151)
Bumps [toml](https://github.com/alexcrichton/toml-rs) from 0.5.1 to 0.5.3.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases)
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.1...0.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-14 11:28:07 -04:00
Matan Kushner
03f99e18da
chore(bump): v0.9.1 2019-08-13 19:25:23 -04:00
Matan Kushner
95401c688f
chore(bump): v0.9.0 2019-08-13 18:44:26 -04:00
Matan Kushner
f10bfe4616
chore(bump): v0.8.7 2019-08-13 15:08:52 -04:00
Matan Kushner
bab69c01c4
chore(bump): v0.8.6 2019-08-13 14:59:00 -04:00
Matan Kushner
6c120dcd2f
chore(bump): v0.8.5 2019-08-13 12:31:47 -04:00