Commit Graph

429 Commits

Author SHA1 Message Date
Matan Kushner d7754f38e7
feat: Implement simplified prompt setup process (#90)
• Add starship init which prints the shell function used to execute starship
• Document the new setup process using starship init
• Remove benchmarks for now (WIP replacement benchmarks in "benchmarking" branch )
2019-07-03 08:03:02 -04:00
dependabot-preview[bot] 5ad3e0059a chore(deps): [Security] Bump smallvec from 0.6.9 to 0.6.10 (#91)
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 0.6.9 to 0.6.10. **This update includes security fixes.**
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-07-02 21:39:44 -04:00
Matan Kushner 463ec26024
feat: Add a `disabled` configuration option for modules (#86)
• Add support for the disabled configuration option
This will allow you to selectively disable modules that you don't want or need. 😄
• Overwrite starship configuration file path with STARSHIP_CONFIG environment variable
• Write tests for the two configuration options that are available
2019-07-02 16:12:53 -04:00
dependabot-preview[bot] 2440ed60d0 chore(deps): Bump tempfile from 3.0.8 to 3.1.0 (#89)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.0.8 to 3.1.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases)
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.0.8...v3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-07-01 18:21:27 -04:00
dependabot-preview[bot] 7b0533f2dd chore(deps): Bump serde_json from 1.0.39 to 1.0.40 (#88)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.39 to 1.0.40.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.39...v1.0.40)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 12:24:11 -04:00
dependabot-preview[bot] 08c7449ff4 chore(deps): Bump rayon from 1.0.3 to 1.1.0 (#78)
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.0.3 to 1.1.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/v1.0.3...rayon-core-v1.1.0)
2019-06-13 15:59:39 +01:00
dependabot-preview[bot] facfe97da0 chore(deps): Bump git2 from 0.9.0 to 0.9.1 (#76)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.9.0...0.9.1)
2019-06-12 20:17:56 +01:00
dependabot-preview[bot] bb220bb5a0 chore(deps): Bump battery from 0.7.3 to 0.7.4 (#74)
Bumps [battery](https://github.com/svartalf/rust-battery) from 0.7.3 to 0.7.4.
- [Release notes](https://github.com/svartalf/rust-battery/releases)
- [Changelog](https://github.com/svartalf/rust-battery/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svartalf/rust-battery/compare/0.7.3...0.7.4)
2019-06-05 14:55:04 +01:00
dependabot-preview[bot] e76e95d3d5 chore(deps): Bump git2 from 0.8.0 to 0.9.0 (#75)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.8.0...0.9.0)
2019-06-05 12:47:20 +01:00
dependabot-preview[bot] b59e44c5fa chore(deps): Bump battery from 0.7.2 to 0.7.3 (#72)
Bumps [battery](https://github.com/svartalf/rust-battery) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/svartalf/rust-battery/releases)
- [Changelog](https://github.com/svartalf/rust-battery/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svartalf/rust-battery/compare/0.7.2...0.7.3)
2019-05-31 16:53:12 +02:00
dependabot-preview[bot] 454b8f9fae chore(deps): Bump dirs from 2.0.0 to 2.0.1 (#73)
Bumps [dirs](https://github.com/soc/dirs-rs) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/soc/dirs-rs/releases)
- [Commits](https://github.com/soc/dirs-rs/commits)
2019-05-31 11:35:19 +02:00
dependabot-preview[bot] 5b1c2107db chore(deps): Bump dirs from 1.0.5 to 2.0.0 (#67)
Bumps [dirs](https://github.com/soc/dirs-rs) from 1.0.5 to 2.0.0.
- [Release notes](https://github.com/soc/dirs-rs/releases)
- [Commits](https://github.com/soc/dirs-rs/commits)
2019-05-27 10:43:36 -04:00
Matan Kushner 5b989fcb9c
feat: Add battery module(#63) 2019-05-22 12:29:39 -04:00
dependabot[bot] 4f06057769 chore(deps): Bump tempfile from 3.0.7 to 3.0.8 (#60)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/Stebalien/tempfile/releases)
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.0.7...v3.0.8)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 10:18:27 -04:00
dependabot[bot] a213114e9a chore(deps): Bump toml from 0.5.0 to 0.5.1 (#58)
Bumps [toml](https://github.com/alexcrichton/toml-rs) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases)
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.0...0.5.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>

Co-authored-by: Dependabot <support@dependabot.com>
2019-05-17 11:02:25 -06:00
Matan Kushner 90d6e6cf0b
Implement the git status module (#45) 2019-05-13 22:43:11 -06:00
Matan Kushner 8b5055d510
Parallelize prompt modules (#46) 2019-05-09 23:51:50 -04:00
John Letey 0b9334f438 Add the package version segment (#35) 2019-05-01 10:45:56 -04:00
dependabot[bot] 6d7485cf50
Bump clap from 2.32.0 to 2.33.0 (#13) 2019-04-18 04:06:31 +00:00
Matan Kushner 2017bcfc7a
Use criterion.rs for section benchmarking (#8)
### Changes
- Replace Rust nightly built-in benchmarking with criterion.rs
- Add benchmarking to Azure Pipelines
2019-04-16 12:20:00 -07:00
Matan Kushner fd42d81273
Replace tempdir with tempfile (#7) 2019-04-16 07:59:57 -07:00
Matan Kushner 794ae7b2ad
Add integration tests (#6)
### Changed
- Added current_dir param to segments to make them more testable
- Moved all existing integration tests to a `tests/` dir

### Added
- A whole bunch of new integration tests
2019-04-15 20:54:52 -04:00
Matan Kushner ab9ba27231
Revert "Parallelize nodejs file checks"
This reverts commit 99bdf27eca.
2019-04-12 13:10:31 -04:00
Matan Kushner 99bdf27eca
Parallelize nodejs file checks 2019-04-12 13:07:41 -04:00
Matan Kushner ff94c9f25f
Use git project root for truncation 2019-04-07 16:43:11 -04:00
Matan Kushner 52a529c627
Add basic benchmarks 2019-04-04 16:59:03 -04:00
Matan Kushner 7683f33bc8
Add dir section with home truncation 2019-04-04 14:18:15 -04:00
Matan Kushner 41ee54933b
Start working on char color for status 2019-04-02 00:45:49 -04:00
Matan Kushner ca3f439012
Initial commit 2019-04-01 23:23:03 -04:00