David Knaack
e09b821c42
build: bump clap from 3.0.14 to 3.1.0 ( #3630 )
...
* build: bump clap from 3.0.14 to 3.1.0
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.14 to 3.1.0.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.0.14...clap_complete-v3.1.0 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* refactor(clap): fix deprecation warnings
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-19 22:24:11 +01:00
zensayyy
d09f71720e
feat(kubernetes): add context user and cluster variables ( #3569 )
...
* added kubernetes context user, cluster + basic test
* updated docs
* docs format
* changed get_kube_ctx_component to return struct
2022-02-16 23:20:29 +01:00
Allan Lago
e70454956f
fix(aws): Only display AWS if there are credentials configured ( #3504 )
...
* only display aws on credential_process defined
* add check for both credential_process and valid credentials
* fix tests
* update aws module documentation
* add better explanation of requirements to documentation
* add support for AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, and update docs
* remove credential_process env var
2022-02-16 23:19:13 +01:00
Kevin Song
532efaadfe
fix: Exclude vuepress output from dprint ( #3616 )
2022-02-15 11:45:41 -06:00
Philippe Eberli
4011c05827
docs: "Local IP" chapter in alphabetical order ( #3613 )
2022-02-15 09:54:53 +01:00
dependabot[bot]
186f8ac881
build: bump rand from 0.8.4 to 0.8.5 ( #3615 )
...
Bumps [rand](https://github.com/rust-random/rand ) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/0.8.4...0.8.5 )
---
updated-dependencies:
- dependency-name: rand
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>
2022-02-15 08:45:02 +01:00
dependabot[bot]
6fff12796e
build: bump open from 2.0.2 to 2.0.3 ( #3610 )
...
Bumps [open](https://github.com/Byron/open-rs ) from 2.0.2 to 2.0.3.
- [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.2...v2.0.3 )
---
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>
2022-02-14 22:33:56 +01:00
Philippe Eberli
1876dbd65b
docs: Rename Heading localip -> Local IP ( #3612 )
...
The lowercase l can easily be missread as a capital I, since all other headings are capitalised..
2022-02-14 22:33:14 +01:00
Ikko Ashimine
7e3af6a866
docs: fix typo in config/README.md ( #3561 )
...
seperator -> separator
2022-02-14 09:55:37 -05:00
dependabot[bot]
76b73342b2
build: bump serde_json from 1.0.78 to 1.0.79 ( #3609 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.78 to 1.0.79.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.78...v1.0.79 )
---
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>
2022-02-14 09:52:06 -05:00
cubercsl
efb16dd9ca
fix(localip): disable localip module default ( #3607 )
2022-02-14 09:51:29 -05:00
Kotaro Abe
32aca11c4a
Add option gcloud.project_aliases ( #3599 )
...
* feat: gcloud.project_aliases
* feat: add option gcloud.project_aliases
2022-02-14 13:16:45 +01:00
David Knaack
0ea16e2641
fix: ignore empty --jobs
argument ( #3593 )
2022-02-14 13:12:31 +01:00
Rashil Gandhi
e9e090e97e
fix(fish): Emit clear-screen escape sequence only in left prompt ( #3588 )
2022-02-14 13:11:55 +01:00
dependabot[bot]
e01abaac3b
build: bump follow-redirects from 1.14.6 to 1.14.8 in /docs ( #3602 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.6 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.6...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-12 12:25:01 -06:00
Shan Zhou
465e6fc4be
fix(pwsh): Use global:error[0] for most recent error in powershell ( #3584 )
...
* Use global:error[0] for most recent error
The current version use $error[0], which is for the module instead of the global status and is always $null, so the $lastExitCodeForPrompot is always $origLastExitCode (see https://github.com/starship/starship/issues/3485 for a related bug).
It should be replaced with $global:error[0]
Comments are also updated
* fix(pwsh): make Semantic PR bot happy
2022-02-11 12:07:50 +01:00
Kotaro Abe
7347d2c195
fix: typo of variable in CONTRIBUTING ( #3595 )
2022-02-11 12:07:26 +01:00
Matan Kushner
e6a921b5b2
chore(release): v1.3.0
2022-02-07 15:56:29 +01:00
Matan Kushner
1d965a9d24
docs(i18n): new Crowdin updates ( #3460 )
2022-02-07 15:53:55 +01:00
dependabot[bot]
db86a93824
build: bump unicode-segmentation from 1.8.0 to 1.9.0 ( #3573 )
...
Bumps [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation ) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/unicode-rs/unicode-segmentation/releases )
- [Commits](https://github.com/unicode-rs/unicode-segmentation/commits )
---
updated-dependencies:
- dependency-name: unicode-segmentation
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>
2022-02-07 15:29:38 +01:00
dependabot[bot]
fb90d5b863
build: bump clap_complete from 3.0.5 to 3.0.6 ( #3574 )
...
Bumps [clap_complete](https://github.com/clap-rs/clap ) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v3.0.5...clap_complete-v3.0.6 )
---
updated-dependencies:
- dependency-name: clap_complete
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>
2022-02-07 15:29:14 +01:00
dependabot[bot]
de24edb8bf
build: bump os_info from 3.1.0 to 3.2.0 ( #3576 )
...
Bumps [os_info](https://github.com/stanislav-tkach/os_info ) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/stanislav-tkach/os_info/releases )
- [Changelog](https://github.com/stanislav-tkach/os_info/blob/master/CHANGELOG.md )
- [Commits](https://github.com/stanislav-tkach/os_info/compare/v3.1.0...v3.2.0 )
---
updated-dependencies:
- dependency-name: os_info
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>
2022-02-07 15:28:42 +01:00
dependabot[bot]
2fa008c1b1
build: bump shell-words from 1.0.0 to 1.1.0 ( #3572 )
...
Bumps [shell-words](https://github.com/tmiasko/shell-words ) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/tmiasko/shell-words/releases )
- [Commits](https://github.com/tmiasko/shell-words/compare/v1.0.0...v1.1.0 )
---
updated-dependencies:
- dependency-name: shell-words
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>
2022-02-07 15:28:17 +01:00
dependabot[bot]
0577dfc5b4
build: bump notify-rust from 4.5.5 to 4.5.6 ( #3575 )
...
Bumps [notify-rust](https://github.com/hoodie/notify-rust ) from 4.5.5 to 4.5.6.
- [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/compare/v4.5.5...v4.5.6 )
---
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>
2022-02-07 08:06:17 +01:00
dependabot[bot]
aef8dc637a
build: bump semver from 1.0.4 to 1.0.5 ( #3577 )
...
Bumps [semver](https://github.com/dtolnay/semver ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.4...1.0.5 )
---
updated-dependencies:
- dependency-name: semver
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>
2022-02-07 08:06:12 +01:00
Jesús Lapastora
c3cc40d2ac
feat(cli): Print arguments if argument parsing fails ( #3560 )
...
* fix(#3554 ): Print the command line argv on clap error
This is a very bare implementation that just prints the error
and then a note with the arguments passed, it does this manually
and doesn't use clap. I've also chosen to use `Vec`'s `Debug`
implementation instead of rolling my own one because I thought it was
good enough, but there might be a better way of doing all this.
Altogether, I think this will be very useful to help in the diagnostic
of other bugs :)
* fix(#3554 ): Print the command line argv on clap error
This is a very bare implementation that just prints the error
and then a note with the arguments passed, it does this manually
and doesn't use clap. I've also chosen to use `Vec`'s `Debug`
implementation instead of rolling my own one because I thought it was
good enough, but there might be a better way of doing all this.
Altogether, I think this will be very useful to help in the diagnostic
of other bugs :)
EDIT: removed `dbg!`, set it to exit always.
* correctness(exit): don't print argv / exit with error on help and
version error kinds
* fix: Avoid panicking when stdout/stderr closing unexpectedly
* refactor(cli): use `use_stderr` instead of manual match for error kinds
`clap` uses `use_stderr` to reliably check whether the error given is
actually an error coming from user input or rather a hint to display
other info (version, help, etc.)
Also reworded/moved a couple of comments so that they explain better
what is the thought process behind the code
2022-02-06 23:04:28 +01:00
Coelacanthus
589576d3eb
refactor(zsh): using add-zsh-hook instead of add hook manually ( #3537 )
...
[1]: https://github.com/starship/starship/pull/3480#discussion_r790280291
[2]: https://zsh.sourceforge.io/Doc/Release/User-Contributions.html#Writing-Themes
Signed-off-by: Coelacanthus <coelacanthus@outlook.com>
2022-02-05 22:37:34 -08:00
moko256
bbdb584f45
fix(status): Enable to convert from i64 to hex_status by casting instead of parsing status. ( #3462 )
...
* fix(status): Enable to convert from i64 to hex_status by casting instead of parsing status.
* Apply comment to src/context.rs
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
* Update README.md in configuration
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2022-02-05 21:13:42 +01:00
Segev Finer
0b184c3ccb
feat(pwsh): Set ExtraPromptLineCount ( #3439 )
...
* feat(pwsh): Set ExtraPromptLineCount
Fixes #3419
* Rename $prompt to $promptText
2022-02-05 21:12:47 +01:00
Marlon Richert
aaf4c17122
refactor: Improve compatibility with Zsh prompt theme system ( #3480 )
...
Zsh's `promptinit` expects a theme's hook functions to be named `prompt_<theme>_<hook>`. See 2876c25a28/Functions/Prompts/promptinit (L155)
2022-02-03 21:53:38 +01:00
Kevin Song
5efb78bcd3
fix: Correctly detect older versions of powershell in bug-report ( #3543 )
...
* Factor out the shell version function
* Correct command to trim spaces + header
2022-02-03 21:51:39 +01:00
David Knaack
31289e0e20
docs: remove stray :::
( #3559 )
2022-02-03 12:20:44 +01:00
dependabot[bot]
95829a02d4
build: bump clap from 3.0.13 to 3.0.14 ( #3552 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.13 to 3.0.14.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.0.13...v3.0.14 )
---
updated-dependencies:
- dependency-name: clap
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>
2022-02-02 08:05:41 +01:00
dependabot[bot]
3e66ac4a54
build: bump toml_edit from 0.13.3 to 0.13.4 ( #3549 )
...
Bumps [toml_edit](https://github.com/ordian/toml_edit ) from 0.13.3 to 0.13.4.
- [Release notes](https://github.com/ordian/toml_edit/releases )
- [Changelog](https://github.com/ordian/toml_edit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ordian/toml_edit/compare/v0.13.3...v0.13.4 )
---
updated-dependencies:
- dependency-name: toml_edit
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>
2022-02-01 09:37:43 +01:00
Marc Schreiber
dcf66659d0
feat: Enable Undistract Me for Linux ( #3547 )
...
In #1019 the undistract feature has been added to starship without
enabling it by default due to the system dependency on libdbus. With
recent versions of notify-rust the dependency is no longer required and
the feature can be enabled by default.
2022-01-31 15:28:13 -06:00
Zachary Dodge
52b0e6512a
docs(preset): Fix redundant space in duration bracket preset ( #3548 )
...
* fix: redundant space in duration bracket preset
* revert: translated preset docs changes
This reverts commit be3349324ba5d4a70c7ec88bcc0f580706d0529b.
Co-authored-by: Zachary Dodge <zdodge@amazon.com>
2022-01-31 15:16:41 -06:00
dependabot[bot]
0ab6313e83
build: bump toml_edit from 0.13.2 to 0.13.3 ( #3542 )
...
Bumps [toml_edit](https://github.com/ordian/toml_edit ) from 0.13.2 to 0.13.3.
- [Release notes](https://github.com/ordian/toml_edit/releases )
- [Changelog](https://github.com/ordian/toml_edit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ordian/toml_edit/compare/v0.13.2...v0.13.3 )
---
updated-dependencies:
- dependency-name: toml_edit
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>
2022-01-31 00:47:36 -06:00
QuiCkSTaR
5a26355b0e
feat(localip): add module to print the current ipv4 address ( #3289 )
2022-01-30 21:31:26 +01:00
Kevin Song
6e24358052
fix(bash): Restore previous exit status in bash init ( #3521 )
...
* fix: Restore previous exit status in bash init
* Do it correctly this time
2022-01-30 10:52:51 +01:00
TrickyPi
65f29754d3
fix(nodejs): use e718 as the default of symbol in node configuration ( #3533 )
...
* fix: use e718 as the default of symbol in node configuration
* wip: change nodejs symbol in docs/config & add a nodejs symbol configuration in docs/presets
* wip: update CONTRIBUTING.md
2022-01-30 10:28:00 +01:00
Lyndon Sanche
e680540cfc
feat(cmd_duration): Make notification timeout configurable ( #3515 )
...
* Allow customization of notification timeout
* Document new notification duration option
* Check for out-of-bounds timeout and correct it
* Implement ModuleConfig for u32
* Revert "Check for out-of-bounds timeout and correct it"
This reverts commit 52109ab5f7c336b55c81bccafb3adbfc81514553.
* Switch notification_timeout to u32
* Note notification_daemons might not honor timout
* Notification timeout defaults to daemon timeout
* Leave default value of notification_timeout blank in docs
2022-01-29 22:56:55 +01:00
David Knaack
6ca911b9fe
fix(elvish): use $pwd
for logical-path
( #3534 )
...
The `$PWD` environment variable used by starship is not updated on startup by `elvish`. `elvish` also provides a separate `$pwd` variable that does get updated and seems to be be a better indicator for the current logical path.
2022-01-28 21:48:10 +01:00
Joseph Chung
b99d3b8e24
feat: starship bug-report sets syntax highlighting for config file ( #3529 )
...
Set the syntax highlighting for the config file in starship bug-report, using the triple backtick syntax.
2022-01-28 14:17:49 +03:00
dependabot[bot]
ab99e759a7
build: bump toml_edit from 0.13.1 to 0.13.2 ( #3532 )
...
Bumps [toml_edit](https://github.com/ordian/toml_edit ) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/ordian/toml_edit/releases )
- [Changelog](https://github.com/ordian/toml_edit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ordian/toml_edit/compare/v0.13.1...v0.13.2 )
---
updated-dependencies:
- dependency-name: toml_edit
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>
2022-01-28 00:45:03 -06:00
dependabot[bot]
865ae4f439
build: bump toml_edit from 0.13.0 to 0.13.1 ( #3523 )
...
Bumps [toml_edit](https://github.com/ordian/toml_edit ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/ordian/toml_edit/releases )
- [Changelog](https://github.com/ordian/toml_edit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ordian/toml_edit/compare/v0.13.0...v0.13.1 )
---
updated-dependencies:
- dependency-name: toml_edit
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>
2022-01-27 21:37:00 +01:00
kanchi
7c1fe67c19
docs: remove meaningless invisible character ( #3519 )
2022-01-27 17:33:46 +01:00
dependabot[bot]
00dce0ca46
build: bump clap from 3.0.12 to 3.0.13 ( #3524 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.12 to 3.0.13.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.0.12...v3.0.13 )
---
updated-dependencies:
- dependency-name: clap
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>
2022-01-27 10:05:29 +03:00
dependabot[bot]
d1fd7ebaae
build: bump serde from 1.0.135 to 1.0.136 ( #3516 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.135 to 1.0.136.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.135...v1.0.136 )
---
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>
2022-01-26 11:08:20 -06:00
Kevin Song
5f2eafe5b1
chore: Update LICENSE file for 2022 ( #3514 )
2022-01-25 21:09:06 -06:00
Matan Kushner
bf55a9478a
docs: add snapcraft to installation instructions ( #3513 )
2022-01-25 15:49:48 -06:00