1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-06-10 12:22:21 +00:00
Commit Graph

2786 Commits

Author SHA1 Message Date
David Knaack
796a582f3c
chore: fix new clippy lints (#5241) 2023-06-13 17:06:04 -05:00
David Knaack
847a642d6a
chore: fix typos (#5239) 2023-06-13 15:40:17 -05:00
renovate[bot]
ca74c47702
build(deps): update rust crate log to 0.4.19 (#5240)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 19:00:17 +02:00
renovate[bot]
515f1862b8 build(deps): update rust crate gix to 0.46.0 2023-06-12 14:52:57 +00:00
renovate[bot]
24583e8bcd
build(deps): update rust crate clap to 4.3.3 (#5235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 11:36:21 +02:00
Nemo157
318050976b
feat(pwsh): Support vi command mode indicator (#5049)
Support vi command mode in powershell
2023-06-12 11:05:44 +02:00
renovate[bot]
ed68fd6e3d
build(deps): update rust crate starship-battery to 0.8.1 (#5232)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 11:04:43 +02:00
renovate[bot]
9f5b12d519
build(deps): update rust crate serde to 1.0.164 (#5231)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 11:04:05 +02:00
Antoine Stevan
470aeb09a7
feat: update the nushell init file and make it valid module and overlay (#5188)
* break long commands into multiple lines for readability

* fix the format of closures

We generally write `{|| ...}` instead of `{ || ...}`.

* remove the `$"--opt=(val)"` structure when possible

`starship` does not require to use `--opt=val` and so we do not
need to do that with Nushell :)

the only place where this is required is with `--status` because
`$env.LAST_EXIT_CODE` can be negative and `starship` does not
appear to *like* values of the form `-2`...
so i left this line as it was.

on the other hand, `$env.CMD_DURATION_MS` and `(term size).columns`
should be fine 😌

* simplify the `config` mutation with new `?` syntax

This is a new very handy feature of Nushell which gives a much
simpler command combined with `default` and `merge`.

* put all `let-env`s inside an `export-env` with `load-env`

This commit has two reasons of existing:
- i think it makes it a bit easier to read with less `let-env`s
- it transforms the *script* into both a valid module and a valid
overlay

* bump the version to `0.78` in to docs

* add a note about the init file being also a module to all docs

* tweak the documentation

* update the Nushell part of the install script

* format the vuepress config file

as previous commit 117580136d3da5e00a4ccb7ada508c8510a2e50e was
not successful, let's try to make the CI happy manually 😌

* remove code quotes in the `config_cmd` of Nushell

* format the style in the Nushell `warning` section
2023-06-12 11:02:46 +02:00
renovate[bot]
b33538bfb1
build(deps): update crate-ci/typos action to v1.15.0 2023-06-08 15:50:30 +00:00
Matan Kushner
646531f99b
Update GA4 tag attribute 2023-06-06 19:28:44 -04:00
renovate[bot]
1af5cf3802 build(deps): update rust crate tempfile to 3.6.0 2023-06-06 23:24:49 +00:00
renovate[bot]
99008b546b build(deps): update gitoxide crates 2023-06-06 23:24:34 +00:00
Matan Kushner
1dab919c9f
Inline script for GA4 2023-06-06 19:23:58 -04:00
Matan Kushner
abadd9c58d
Checkout before running gh commands in CI 2023-06-06 10:44:58 -04:00
github-actions[bot]
3591db41c1
chore(master): release 1.15.0 (#5108)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-06 10:33:46 -04:00
Matan Kushner
c8f34ad8d7
Revert "Specify personal-file interface for snap"
This reverts commit 2641a37865.

This was reverted due to errors in the snap publishing pipeline:
interface 'starship-config' not found in base declaration declaration-snap-v2_plug_known (starship-config, starship-config)
invalid plugs interface definition 'starship-config' lint-snap-v2_app_plugs_plug_reference (starship, starship-config)
unknown interface 'starship-config' lint-snap-v2_plugs (starship-config, starship-config)
2023-06-06 10:23:58 -04:00
Matan Kushner
9bebd0e280
docs(i18n): new Crowdin updates (#5109) 2023-06-06 10:10:23 -04:00
renovate[bot]
e703d86b7e build(deps): update rust crate nu-ansi-term to 0.48.0 2023-06-06 14:09:45 +00:00
Matan Kushner
544907c570
Update GA measurement ID 2023-06-06 10:06:53 -04:00
renovate[bot]
ea9b9eb443 build(deps): update rust crate once_cell to 1.18.0 2023-06-06 07:33:31 +00:00
renovate[bot]
4883f1d3f7 build(deps): update rust crate regex to 1.8.4 2023-06-06 07:33:15 +00:00
renovate[bot]
29bed06baa build(deps): update rust crate shadow-rs to 0.23.0 2023-06-06 00:29:01 +00:00
renovate[bot]
d14d865735 build(deps): update rust crate clap to 4.3.2 2023-06-06 00:28:43 +00:00
David Knaack
6ab8f4061f
fix: bump libz-ng-sys (#5218) 2023-06-05 23:16:09 +02:00
renovate[bot]
85304d1d39
build(deps): update clap crates to 4.3.1 2023-06-02 17:17:08 +00:00
renovate[bot]
1245a6b459
build(deps): update crate-ci/typos action to v1.14.12 2023-06-02 04:17:18 +00:00
marcybell
70d2014f34
feat(nodejs): Add expected_version variable (#5081)
* add `expected_version` variable to `nodejs`

* show comparison symbols with `expected_version`

* documentation, formatting, more tests

* Remapped `engines_version` to $version

* Added better descriptions to docs

* Update docs/config/README.md

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* Removed clone from `nodejs`, formatting

* refactored function calls

* rewrote `engines_version` formatter

* Moved Lazy variables into maps

---------

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2023-06-01 21:24:11 +02:00
marcybell
351bf9d0b3
feat(golang): adding mod_version variable (#5177) 2023-06-01 21:18:38 +02:00
baoyachi. Aka Rust Hairy crabs
2e8b51c5e8
refactor: simplify shadow-rs setup in build.rs (#5209)
Update build.rs
2023-06-01 21:18:12 +02:00
renovate[bot]
d2c336cc07
build(deps): update rust crate chrono to 0.4.26 2023-05-30 20:21:27 +00:00
renovate[bot]
2fabc763e8 build(deps): update rust crate once_cell to 1.17.2 2023-05-29 13:24:42 +00:00
renovate[bot]
5ae003f2f1
build(deps): update rust crate chrono to 0.4.25 2023-05-29 10:36:49 +00:00
renovate[bot]
5243407d41
build(deps): update rust crate log to 0.4.18 2023-05-28 05:23:28 +00:00
renovate[bot]
3abc3145bf
build(deps): update rust crate shadow-rs to 0.22.0 2023-05-26 12:09:24 +00:00
renovate[bot]
d9d113e405
build(deps): update rust crate regex to 1.8.3 2023-05-25 19:08:21 +00:00
renovate[bot]
885241114a
build(deps): update rust crate toml_edit to 0.19.10 2023-05-24 00:04:51 +00:00
renovate[bot]
e368283f4e build(deps): update rust crate regex to 1.8.2 2023-05-23 03:03:56 +00:00
renovate[bot]
1e198713d7
build(deps): update crate-ci/typos action to v1.14.11 2023-05-22 23:33:48 +00:00
renovate[bot]
4b3bcaee4e
build(deps): update clap crates to 4.3.0 2023-05-19 19:44:30 +00:00
renovate[bot]
ec794e4524
build(deps): update crate-ci/typos action to v1.14.10 2023-05-19 17:32:06 +00:00
renovate[bot]
6f63e4c441
build(deps): update toml crates 2023-05-18 19:16:03 +00:00
renovate[bot]
33ceced46d build(deps): update dprint plugins 2023-05-15 01:00:34 +00:00
renovate[bot]
2f44c0f4a5
build(deps): update rust crate gethostname to 0.4.3 2023-05-13 14:04:30 +00:00
renovate[bot]
a9dd30b9e8
build(deps): update rust crate clap_complete to 4.2.3 2023-05-12 09:40:57 +00:00
renovate[bot]
6962d7728f
build(deps): update xalvarez/prevent-file-change-action action to v1.3.2 2023-05-11 11:08:31 +00:00
renovate[bot]
532fd10bf8
build(deps): update rust crate serde to 1.0.163 2023-05-11 07:22:30 +00:00
Jakub Jirutka
b758d52eb2
build(deps): disable unnecessary/unused regex features (#5175)
This will reduce the binary size by ~400 kB.
2023-05-10 14:41:37 +02:00
Mick Hohmann
2558c4588b
fix: update of presets and default configuration to reflect changes in Nerd Fonts 3.0 (#5162)
* Updated nf-mdi-* to nf-md-* symbols

The following symbols where changed
- directory.read_only
- memory_usage
- meson
- nim
- os.symbols.Garuda
- os.symbols.HardenedBSD
- os.symbols.Illumos
- os.symbols.OpenBSD
- os.symbols.OracleLinux
- os.symbols.Redox
- os.symbols.Solus
- os.symbols.Windows
- package
- rlang

* Updated nf-mdi-* to nf-md-* symbols (for all other presets)

The following symbols where changed
for pastel-powerline:
- directory.substitutions.Documents
- nim
for tokyo-night
- directory.substitutions.Documents
- golang

* Updated nf-mdi-* to nf-md-* symbols for the default configuration in modules in src/configs/*.rs

The following symbols where changed
- azure
- battery.full_symbol
- battery.charging_symbol
- battery.discharging_symbol
- battery.unknown_symbol
- battery.empty_symbol

* Updated config-schema.json

* Updated src/modules/*.rs docs/config/README.md

and used `nerdfix` to check if I overlook anything

* Fixed the battery discharging symbol in the tests

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: jtrv <travershasemail@gmail.com>
2023-05-10 14:36:56 +02:00
renovate[bot]
6625bd8fea
build(deps): update rust crate clap_complete to 4.2.2 2023-05-09 23:08:21 +00:00