David Knaack
ab25bc82c5
fix(windows): make powershell init work on windows 8 again ( #3067 )
2021-09-25 14:07:23 -05:00
David Knaack
b22c54fccc
refactor: replace `term_size` with `terminal_size` ( #3087 )
2021-09-23 17:52:51 +02:00
Milo
888a653c32
ci: use Swatinem/rust-cache for caching in CI ( #3057 )
2021-09-21 13:34:46 -04:00
Matan Kushner
0a60d1e939
chore(release): v0.58.0
2021-09-21 14:38:04 +01:00
Matan Kushner
e29b2ddc91
docs(i18n): new Crowdin updates ( #3012 )
2021-09-21 09:36:29 -04:00
Matan Kushner
43feb6e4ec
ci: Reenable caching in CI
2021-09-21 14:30:36 +01:00
Kevin Song
35f6206593
docs: Add missing modules to $all in config docs ( #3075 )
...
* Add cobol to $all in config docs
* Undo whitespace changes
* Add singluarity/rlang, move lua to correct location
2021-09-17 16:16:36 -05:00
David Knaack
20af85f0a8
docs(modules): add missing module descriptions ( #3081 )
2021-09-17 16:16:02 -05:00
Dave Powers
913dc3af2a
docs: fix grammar in config README ( #3069 )
2021-09-17 11:46:42 -04:00
dependabot[bot]
99ac425fb0
build: bump notify-rust from 4.5.2 to 4.5.3 ( #3078 )
...
Bumps [notify-rust](https://github.com/hoodie/notify-rust ) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/hoodie/notify-rust/releases )
- [Changelog](https://github.com/hoodie/notify-rust/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hoodie/notify-rust/commits )
---
updated-dependencies:
- dependency-name: notify-rust
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-17 13:38:02 +02:00
dependabot[bot]
a173f4b4d7
build: bump unicode-width from 0.1.8 to 0.1.9 ( #3077 )
...
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width ) from 0.1.8 to 0.1.9.
- [Release notes](https://github.com/unicode-rs/unicode-width/releases )
- [Commits](https://github.com/unicode-rs/unicode-width/compare/v0.1.8...v0.1.9 )
---
updated-dependencies:
- dependency-name: unicode-width
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-17 13:37:28 +02:00
dependabot[bot]
598626cfc5
build: bump serde_json from 1.0.67 to 1.0.68 ( #3065 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.67 to 1.0.68.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.67...v1.0.68 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-15 17:59:31 +02:00
David Knaack
75feef62cb
fix(print-config): add missing `format_right` to `FullConfig` ( #3063 )
2021-09-15 17:58:58 +02:00
Tom Most
bbb8d3c357
fix(package): Ignore setup.cfg attr: and file: ( #3054 )
...
The setup.cfg version key allows "attr:" and "file:" directives to load
the actual value from elsewhere [1]. Treat these as if no version was
found, since the text of the directive isn't the version number we're
after.
[1]: https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html#specifying-values
2021-09-14 12:17:05 -05:00
Matthew (Matt) Jeffryes
5d0a38aca3
feat: Add a fill module to pad out the line ( #3029 )
2021-09-12 19:59:15 -04:00
David Knaack
5ac7ad741f
fix(zsh): always escape percent character ( #3058 )
2021-09-12 19:55:46 -04:00
Matthew (Matt) Jeffryes
e64a99262e
fix(zsh init script): avoid adding preexec commands twice ( #3049 )
2021-09-09 16:19:01 -04:00
dependabot[bot]
cc0a885e75
build: bump git2 from 0.13.21 to 0.13.22 ( #3047 )
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.13.21 to 0.13.22.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.21...0.13.22 )
---
updated-dependencies:
- dependency-name: git2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-09 11:55:07 +02:00
Matthew (Matt) Jeffryes
79585dcb17
feat: Add support for RPROMPT (right prompt) ( #3026 )
...
Adds support for zsh, fish, and elvish.
Co-authored-by: Matan Kushner <hello@matchai.dev>
2021-09-08 15:45:27 -04:00
CuriousCorrelation
cb8dca2101
docs(chglog): Change release page title order ( #3038 ) ( #3045 )
...
Changed release page commit group title order from
alphabetical to feat, fix, docs, style, refactor, pref, test, build, ci,
chore, revert.
Matches Semantic PR conventional commit types.
2021-09-08 14:15:26 -04:00
Bill
08b5cd0862
feat(cobol): added COBOL module ( #2994 )
...
* feat: added COBOL module
* slight README fix
* added command faking for COBOL
* updated COBOL symbol to better suit language
Co-authored-by: Bill Risher <bill@encephaloinvestments.com>
2021-09-07 09:59:14 -05:00
James Conroy
296718ce28
refactor: install.sh to improve usage and install instructions ( #3025 )
...
* Refactored the usage function to use printf
Using printf to print the usage function instead of a here doc handles
the formatting for us so it will be consistent across a wide variety of
terminal emulators. Here docs also tend to mess up auto-formatters so
removing it has that added benefit.
* Made the install instructions their own function
The function loops through simular install instructions so this way we
won't have to repeat ourselves every time we add a new supported shell.
* Set default config_file location
The default location is based on the name of the shell. It is overwritten when needed.
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2021-09-06 12:10:41 -05:00
Alexandru Macovei
7388c5a79e
fix(config): inherit stdin/stdout/stderr instead of piping to fix editor invocation ( #3032 )
...
Due to the introduction of utils::create_command, commands now have
stdin set to null, and stdout and stderr set to piped.
This prevents console editors from working when invoked via
starship config
2021-09-03 21:56:43 -04:00
Matan Kushner
6a6a4dae2a
chore: resize flags to match their size in README
2021-09-03 12:19:06 -04:00
Marcin Puc
6598275e15
refactor: simplify iterator usage ( #3017 )
2021-09-02 11:48:29 -04:00
Thomas O'Donnell
3933553486
fix(status): Showing exit code 0 with pipelines ( #3028 )
...
Have fixed a bug there the status module was showing when the exit code
was 0.
2021-09-02 00:18:44 +02:00
Kid
494b6eb40f
docs(config): change spelling of some words ( #2855 )
...
* docs(config): correct spelling
* Add more reference links
* Fix blank line
* Fix bad merge
2021-09-01 20:34:41 +02:00
David Knaack
c6e5e6fbed
feat(print-config): list expanded `$all` variable ( #2932 )
...
* feat(print-config): list expanded `$all` variable
* handle $custom
* improve comment
2021-09-01 20:32:32 +02:00
Chris Rose
85f7a4be39
ci: disable the security-audit cron on non-canonical forks ( #3027 )
...
Co-authored-by: Chris Rose <offline@offby1.net>
2021-09-01 13:47:07 -04:00
dependabot[bot]
6e36353637
build: bump serde_json from 1.0.66 to 1.0.67 ( #3022 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.66 to 1.0.67.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.66...v1.0.67 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-30 18:25:43 +02:00
dependabot[bot]
f50c3d2ce7
build: bump serde from 1.0.129 to 1.0.130 ( #3021 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.129 to 1.0.130.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.129...v1.0.130 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-30 17:17:37 +02:00
machupicchubeta
f265f12eb2
docs: Correct the "VLang" configuration example ( #3019 )
...
* Correct the "VLang" configuration example
This commit is a document correction only; to avoid the configuration error.
The documents to be corrected are "docs/[lang]/README.md".
With a config key of `[v]` on macOS, it has the following error.
```
[WARN] - (starship::configs::starship_root): Unknown config key 'v'
```
I think it might be the error in other OS as well.
In the other document "docs/[lang]/presets/README.md", the config key is `[vlang]`.
* Touch only the English docs
The changes to the translated pages will be done automatically.
2021-08-29 17:26:41 +02:00
filip
6b13296741
feat(git_metrics): Git metrics show only nonzero diffs ( #2887 )
...
* implement only_nonzero_diffs configuration option
* update documetation
2021-08-27 09:38:46 -05:00
Matan Kushner
ce168e3241
docs: add Brazilian Portuguese translations to the docs and website ( #3009 )
2021-08-26 16:44:58 -04:00
Matan Kushner
747ff95a85
docs(i18n): new Crowdin updates ( #3008 )
2021-08-26 11:28:30 -04:00
Matan Kushner
d77ea269f8
docs(i18n): new Crowdin updates ( #2985 )
2021-08-26 10:11:13 -04:00
Matan Kushner
f03c0825c0
chore(release): v0.57.0
2021-08-26 10:07:40 -04:00
filip
1c9758f08b
style: Improve modules consistency ( #3006 )
...
* cmake - consistent parse version method names
* crystal - consistent parse version method names
* dart - consistent parse version method names
* deno - consistent parse version method names
* golang - consistent parse version method names
* helm - consistent parse version method names
* implement get_command_string_output, java - consistent parse version method names & small refactor
* julia - consistent parse version method names
* kotlin - consistent parse version method names and refactor
* lua - consistent parse version method names and refactor
* implement get_command_string_output for scala
* format crystal module
* remove outdated comment
* node use format_module_version
* terraform - consistent parse version method names
* vagrant - consistent parse version method names
* format
* refactor python module
* improve rlang module consistency
* fix clippy warning
2021-08-25 10:41:10 -05:00
dependabot[bot]
779def1362
build: bump versions from 3.0.2 to 3.0.3 ( #3003 )
...
Bumps [versions](https://github.com/fosskers/rs-versions ) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/fosskers/rs-versions/releases )
- [Changelog](https://github.com/fosskers/rs-versions/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fosskers/rs-versions/commits )
---
updated-dependencies:
- dependency-name: versions
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-24 18:38:12 +02:00
dependabot[bot]
45b0114b12
build: bump serde from 1.0.128 to 1.0.129 ( #3002 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.128 to 1.0.129.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.128...v1.0.129 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-24 08:40:46 +02:00
dependabot[bot]
54752c2c1f
build: bump serde from 1.0.127 to 1.0.128 ( #2998 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.127 to 1.0.128.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.127...v1.0.128 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-23 19:04:43 +02:00
David Knaack
9d3ec93d82
refactor: allow passing OsStr as-is to `exec_cmd` ( #2997 )
2021-08-23 18:49:30 +02:00
dependabot[bot]
370cf92d79
build: bump shadow-rs from 0.6.12 to 0.7.1 ( #2999 )
...
Bumps [shadow-rs](https://github.com/baoyachi/shadow-rs ) from 0.6.12 to 0.7.1.
- [Release notes](https://github.com/baoyachi/shadow-rs/releases )
- [Commits](https://github.com/baoyachi/shadow-rs/compare/0.6.12...0.7.1 )
---
updated-dependencies:
- dependency-name: shadow-rs
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-23 18:47:21 +02:00
Elia Geretto
2e9223dd8c
fix(git_status): show working tree status if index status is present ( #2973 )
2021-08-18 19:55:40 +02:00
Chris Rose
2865f135f0
ci: disable dependabot cron on starship forks ( #2993 )
2021-08-17 08:46:17 -04:00
dependabot[bot]
919606c466
build: bump shadow-rs from 0.6.10 to 0.6.12 ( #2991 )
...
Bumps [shadow-rs](https://github.com/baoyachi/shadow-rs ) from 0.6.10 to 0.6.12.
- [Release notes](https://github.com/baoyachi/shadow-rs/releases )
- [Commits](https://github.com/baoyachi/shadow-rs/compare/0.6.10...0.6.12 )
---
updated-dependencies:
- dependency-name: shadow-rs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-16 11:32:09 +02:00
dependabot[bot]
8b0fcd3463
build: bump nix from 0.22.0 to 0.22.1 ( #2990 )
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.22.0 to 0.22.1.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/v0.22.1/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.22.0...v0.22.1 )
---
updated-dependencies:
- dependency-name: nix
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-16 11:11:24 +02:00
dependabot[bot]
0f9b80f0cd
build: bump open from 2.0.0 to 2.0.1 ( #2989 )
...
Bumps [open](https://github.com/Byron/open-rs ) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/Byron/open-rs/releases )
- [Changelog](https://github.com/Byron/open-rs/blob/main/changelog.md )
- [Commits](https://github.com/Byron/open-rs/compare/v2.0.0...open-v2.0.1 )
---
updated-dependencies:
- dependency-name: open
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-16 10:06:00 +02:00
Thomas O'Donnell
9e5fcd1e14
feat(red,vlang): Add version formatting ( #2987 )
...
Have added version formatting to the red and vlang modules. Note the
docs for red already mentioned the `version_format` string but it had
not actually been added.
2021-08-15 21:30:58 +02:00
Alexander González
7038ae2ec8
fix(jobs): Add the symbol and number thresholds respecting the `threshold` option ( #2908 )
...
* feat: Add the symbol and number thresholds respecting the threshold option
* fix: Maintain the old behavior + add lots of tests
* docs: Fix the jobs module documentation
2021-08-14 15:29:25 +02:00