1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-30 12:50:37 +00:00
Commit Graph

978 Commits

Author SHA1 Message Date
Thomas O'Donnell
0d81694e32 chore: Add ability to mock commands during tests (#768) 2020-01-11 10:08:32 -05:00
dependabot-preview[bot]
fa6de4b769 build(deps): bump reqwest from 0.10.0 to 0.10.1
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.10.0...v0.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-10 05:43:13 +00:00
Kyle J Strand
5ab9ce643a docs: Add installation instructions for Cargo to README.md (#820) 2020-01-09 17:11:20 -05:00
Thomas O'Donnell
0879381bcd test: Ignore AWS tests that depend on the File System (#817)
Update AWS module tests to ignore the two tests that can fail if the
`~/.aws/config` file exists.
2020-01-08 18:22:42 -06:00
dependabot-preview[bot]
f1b27f5572 build(deps): bump nom from 5.0.1 to 5.1.0
Bumps [nom](https://github.com/Geal/nom) from 5.0.1 to 5.1.0.
- [Release notes](https://github.com/Geal/nom/releases)
- [Changelog](https://github.com/Geal/nom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Geal/nom/compare/5.0.1...5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-08 05:43:32 +00:00
Iván
e146eb59df docs(i18n): add Spanish as WIP localization (#813) 2020-01-07 16:30:40 -05:00
Hendrik Rombach
dab27f3334 fix: Correct module description text for git_commit (#812) 2020-01-07 12:12:40 -05:00
Matan Kushner
25079b029c
chore(bump): v0.33.0 2020-01-06 12:45:38 -05:00
dependabot-preview[bot]
a251ddb957 build(deps): bump reqwest from 0.9.24 to 0.10.0 (#797)
* build(deps): bump reqwest from 0.9.24 to 0.10.0

Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.9.24 to 0.10.0.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.24...v0.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 12:10:30 -05:00
dependabot-preview[bot]
e050935419 build(deps): bump sysinfo from 0.10.3 to 0.10.4
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.10.3 to 0.10.4.
- [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 15:09:45 +00:00
Matan Kushner
09fe0afc14
ci: Remove Docker test environment from CI (#806) 2020-01-06 00:35:46 -05:00
Justas Kazakauskas
45e6b3e052 docs: Document the STARSHIP_CONFIG env variable (#807) 2020-01-04 14:20:07 -05:00
InNoobWeTrust
2eeaa05bfb feat: Terminate $PROMPT_COMMAND properly (#799)
Add trailing semicolon to end $PROMPT_COMMAND properly.
This will prevent starship_precmd to accidentally mess with other hooks invoked after it.
2020-01-04 10:52:08 -05:00
Iván
f5a513770b docs: Add missing spaces after bullet points in README.md (#805)
Fix lack of spaces between the word version and the open parentheses.
2020-01-03 22:26:05 -05:00
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