Commit Graph

81 Commits

Author SHA1 Message Date
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
dependabot-preview[bot]
5f05d9e7af chore(deps): [Security] Bump spin from 0.5.0 to 0.5.2 (#256)
Bumps [spin](https://github.com/mvdnes/spin-rs) from 0.5.0 to 0.5.2. **This update includes a security fix.**
- [Release notes](https://github.com/mvdnes/spin-rs/releases)
- [Commits](https://github.com/mvdnes/spin-rs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-29 13:53:00 -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
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
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
Saghm Rossi
7240a81e98 chore(deps): Update crossbeam-epoch dependency (#200) 2019-08-19 13:55:41 -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
Matan Kushner
589b6cf712
chore(bump): v0.8.4 2019-08-12 23:42:59 -04:00
Matan Kushner
1d6ce77a81
chore(bump): v0.8.3 2019-08-12 23:18:52 -04:00
Matan Kushner
35733488a1
chore(bump): v0.8.2 2019-08-12 22:15:02 -04:00
Matan Kushner
87849c3110
chore(bump): v0.8.1 2019-08-12 21:58:04 -04:00
Matan Kushner
6563461564
chore(bump): v0.8.0 2019-08-12 21:33:54 -04:00
Matan Kushner
274042832d
chore(bump): v0.7.0 2019-08-12 13:43:48 -04:00
Matan Kushner
5bcbedbabb
chore(bump): v0.6.0 2019-08-10 17:34:20 -04:00
Matan Kushner
98fba0d439
chore(bump): v0.5.0 2019-08-08 13:26:36 -04:00
Matan Kushner
b2303d5d8e
chore(bump): v0.4.1 2019-08-05 11:35:53 -04:00
dependabot-preview[bot]
9a2af45835 chore(deps): Bump log from 0.4.7 to 0.4.8 (#123)
Bumps [log](https://github.com/rust-lang/log) from 0.4.7 to 0.4.8.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang-nursery/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/commits)
2019-07-29 11:34:32 -04:00
dependabot-preview[bot]
138287ec63 chore(deps): Bump dirs from 2.0.1 to 2.0.2 (#122)
Bumps [dirs](https://github.com/soc/dirs-rs) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/soc/dirs-rs/releases)
- [Commits](https://github.com/soc/dirs-rs/commits)
2019-07-29 11:11:13 -04:00
Matan Kushner
63ce5f1501
chore(bump): v0.4.0 2019-07-28 22:47:48 -04:00
Andrew Dassonville
75e74e0d74 feat: Use Unix-style slash on Windows (#119)
Prior to this change, starship would use inconsistent slashes when displaying the working directory. With this change, starship uses Unix-style slashes on all platforms. This is consistent with the Git Bash and Cygwin prompts on Windows.
2019-07-28 20:15:40 -04:00
dependabot-preview[bot]
e1d179ccf2 chore(deps): Bump git2 from 0.9.1 to 0.9.2 (#114)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.9.1...git2-curl-0.9.2)
2019-07-25 11:32:19 -04:00
Matan Kushner
b39aca9776
chore(bump): v0.3.2 2019-07-23 11:56:27 -04:00
Matan Kushner
7d5761a69e
chore: v3.0.1 2019-07-20 13:48:48 -04:00
Matan Kushner
c8975dfbb6
v0.3.0 2019-07-19 22:08:43 -04:00
dependabot-preview[bot]
d26353f3e3 chore(deps): Bump ansi_term from 0.11.0 to 0.12.0 (#96)
Bumps [ansi_term](https://github.com/ogham/rust-ansi-term) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/ogham/rust-ansi-term/releases)
- [Commits](https://github.com/ogham/rust-ansi-term/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-15 13:33:54 -04:00
dependabot-preview[bot]
79bfc7cf49 chore(deps): Bump log from 0.4.6 to 0.4.7 (#93)
Bumps [log](https://github.com/rust-lang/log) from 0.4.6 to 0.4.7.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang-nursery/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.6...0.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 23:28:57 -04:00