Commit Graph

664 Commits

Author SHA1 Message Date
allcontributors[bot] e0a9f09bff docs: add dten as a contributor (#804)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]
2020-01-03 17:56:03 -05:00
David Hewson 178f177dac perf(hg_branch): Replace direct calls to `hg` (#803)
perf: don't use hg process to get branch / bookmark information, each call was taking 250ms and it was making on average 2 calls.
the branch and bookmark information is available in files in the root of the repo, use that instead.
now takes 300 micro seconds

fix: do not use .hgignore to decide if it is an hg repo. was providing false positives. #721

fix: after changing branch the new branch was not show (the old branch was shown), the new branch is now correctly shown. #722

fix: if no branch override was set it would say (no branch) however if you commited in that state you would commit to the branch default so say that instead
2020-01-03 17:51:45 -05:00
Jon Grythe Stødle 8e5fa60fc8 feat: Add the `starship explain` command (#699)
This adds the explain argument to Starship, which explains what the printed modules in the prompt are.
2020-01-01 23:19:08 -05:00
AppleTheGolden 6bafe4cd66 fix: Consider `$STARSHIP_CONFIG` in `configure` (#795)
Makes starship configure consider the $STARSHIP_CONFIG variable before falling back to the default of ~/.config/starship.toml.
2019-12-30 15:46:02 -08:00
allcontributors[bot] a8e20ef387 docs: add marblenix as a contributor (#791)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]
2019-12-28 22:21:57 -05:00
marblenix b82ff321fa feat(git_status): Add a stash count segment (#598) 2019-12-28 22:20:36 -05:00
Matan Kushner 891fa9da50
chore(bump): v0.32.2 2019-12-28 10:05:41 -05:00
InNoobWeTrust 9d49410102 fix: Remove trailing semicolon from `$PROMPT_COMMAND` (#784)
Remove any trailing semicolon in $PROMPT_COMMAND before appending starship_precmd, to prevent syntax error.
2019-12-28 10:03:59 -05:00
BSKY 36cfbfcf03 build: Bump checkout action from v1 to v2 (#789) 2019-12-28 09:32:17 -05:00
Matan Kushner 75b103a44a
docs(i18n): Update translations (#735) 2019-12-24 16:54:29 -05:00
Tobias Bieniek ecc8754335 fix(package): Use specified directory instead of current working directory (#774) 2019-12-23 22:38:00 -05:00
Matan Kushner 3ddb7460a6
docs: Add a "Presets" page to the website (#783) 2019-12-23 22:32:48 -05:00
Matan Kushner e53ced8221
docs: A few small improvements
- Correctly alphebetize modules
- Fix table formatting
- Add missing quotes around strings
2019-12-23 18:10:25 -05:00
allcontributors[bot] 4f5d1bc8f3 docs: add dominikbraun as a contributor (#780)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]
2019-12-23 10:27:58 -05:00
Dominik Braun 56d62bd659 fix: Parse arguments of $VISUAL and $EDITOR (#772)
Co-authored-by: AppleTheGolden <scotsbox@protonmail.com>
2019-12-23 10:27:00 -05:00
dependabot-preview[bot] 7e568a1e73 build(deps): bump rayon from 1.2.1 to 1.3.0 (#777)
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.2.1 to 1.3.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.2.1...rayon-core-v1.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 10:23:45 -05:00
Tobias Bieniek 9a1569444b refactor: ModuleConfig: Simplify generated `from_config()` implementations (#775)
We can use `and_then()` to string `Option` values together so that we only need a single `?` assertion. This makes it generally possible to have e.g. `unwrap_or()` at the end.
2019-12-23 10:12:21 -05:00
Marco Ieni c4ed88952c docs(config): Disabled at the end of the options
In the `time` module, bring `disabled` option at the end of the table for coherence with all the other modules
2019-12-23 10:11:23 -05:00
Leonora Tindall 539f320a3f fix: Improve error message when current dir is not found (#773) 2019-12-21 23:26:57 -05:00
Matan Kushner b0a8003a59
chore(bump): v0.32.1 2019-12-20 15:45:19 -05:00
Matan Kushner d1b725a47c
build: Use native SSL instead of OpenSSL 2019-12-20 15:42:21 -05:00
Matan Kushner 83d4c21a09
ci: Install pkg-config for musl build 2019-12-20 15:09:46 -05:00
Matan Kushner e6625cf6df
chore(bump): v0.32.0 2019-12-20 13:58:04 -05:00
Matan Kushner 8cf4ce21d9
perf: Dereference before to_string in aws module 2019-12-20 12:58:59 -05:00
allcontributors[bot] c30f2e90d1 docs: add mfs as a contributor (#765) 2019-12-20 12:39:29 -05:00
Mike Sampson 256a2be949 feat: Implement AWS region aliases (#646) 2019-12-20 12:30:47 -05:00
allcontributors[bot] f3784f5aaa docs: add Scotsguy as a contributor (#764) 2019-12-20 11:34:17 -05:00
AppleTheGolden 8084c2e61d fix: Fix shellcheck issues in install.sh (#714) 2019-12-20 10:54:40 -05:00
Matan Kushner c58178dece
ci: Bump brew with personal account 2019-12-20 10:15:36 -05:00
Shivam Mathur 024e7ea1f3 ci: Use fixed version of setup-php in test workflow (#763) 2019-12-20 10:14:25 -05:00
AppleTheGolden 11f73efa41 fix: Improvements to `starship configure` (#756)
- look for $VISUAL first, then $EDITOR, then the default
- panic if we can't find the home dir
2019-12-20 09:55:53 -05:00
Matan Kushner 49d1c250d5
build: Install libssl-dev during musl build 2019-12-19 18:09:13 -05:00
Jon Grythe Stødle f898b22b55 fix: Clear before printing prompt (#739)
This clears any leftover text when the prompt updates in-place (e.g. Alt + Left/Right in fish shell)
2019-12-19 17:56:30 -05:00
Luca Rinaldi 6a2b0a67b0 feat: cmd_duration module optionally reports milliseconds (#696) 2019-12-19 17:38:06 -05:00
Matan Kushner d6094d7b9d
chore(bump): v0.31.0 2019-12-19 17:18:11 -05:00
allcontributors[bot] a26fcc8736 docs: add etiennemabille as a contributor (#757)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]


Co-authored-by: null <46447321+allcontributors[bot]@users.noreply.github.com>
2019-12-19 16:21:15 -05:00
Etienne Mabille 879649d542 fix(bash): save and restore "$_" (#753) 2019-12-19 16:20:44 -05:00
Mario Arias aab35674d2 feat: Adds build.gradle.kts detection to the Java module (#731) 2019-12-19 10:17:50 -05:00
dependabot-preview[bot] 63594b746e build(deps): bump gethostname from 0.2.0 to 0.2.1
Bumps [gethostname](https://github.com/lunaryorn/gethostname.rs) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/lunaryorn/gethostname.rs/releases)
- [Changelog](https://github.com/lunaryorn/gethostname.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lunaryorn/gethostname.rs/compare/gethostname-0.2.0...gethostname-0.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-19 06:05:51 +00:00
Dominik Braun a4c5c00a73 feat: Implement `starship configure` command (#751) 2019-12-18 16:09:36 -05:00
dependabot-preview[bot] c82aeb70db build(deps): bump sysinfo from 0.10.2 to 0.10.3 (#747)
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 23:15:16 -05:00
Matan Kushner b1de63b7a3
docs: Fix landing page formatting 2019-12-17 16:48:17 -05:00
Matan Kushner e078bf4727
docs: Make website docs consistent with README.md 2019-12-17 16:46:43 -05:00
Matan Kushner a07ca8353f
docs: Update GitHub Actions badge
Update the badge to specifically show the status of push events to master
2019-12-17 11:12:32 -05:00
Matan Kushner af7e9fd26e
revert: "build(deps): bump log from 0.4.8 to 0.4.10"
This reverts commit dd112719e6.
2019-12-17 11:10:07 -05:00
Matan Kushner 6c2e931087
feat: Extend bug-report to include terminal emulator (#740) 2019-12-17 10:17:04 -05:00
dependabot-preview[bot] 85ad2d5d00 build(deps): bump hermit-abi from 0.1.3 to 0.1.5
Bumps [hermit-abi](https://github.com/hermitcore/rusty-hermit) from 0.1.3 to 0.1.5.
- [Release notes](https://github.com/hermitcore/rusty-hermit/releases)
- [Commits](https://github.com/hermitcore/rusty-hermit/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 16:28:13 +00:00
dependabot-preview[bot] dd112719e6 build(deps): bump log from 0.4.8 to 0.4.10
Bumps [log](https://github.com/rust-lang/log) from 0.4.8 to 0.4.10.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.8...0.4.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 16:27:33 +00:00
nesmyslny 40d4daba42 docs: Correct summary of `git_commit` module (#737) 2019-12-16 10:45:48 -05:00
dependabot-preview[bot] 43d352db1b
build(deps): bump os_info from 1.1.3 to 1.2.0 (#742) 2019-12-16 15:45:32 +00:00