Commit Graph

3374 Commits

Author SHA1 Message Date
David Knaack
c7a8ea7570
fix(ci): move to macos-latest image (#6132) 2024-07-26 16:15:54 -04:00
Matan Kushner
4c3c75a0e9
docs(i18n): new Crowdin updates (#5992)
* New translations readme.md (Ukrainian)

* New translations readme.md (Dutch)

* New translations readme.md (Dutch)

* New translations readme.md (Dutch)

* New translations readme.md (Ukrainian)

* New translations readme.md (Turkish)

* New translations readme.md (Turkish)

* New translations readme.md (French)

* New translations readme.md (Spanish)

* New translations readme.md (Arabic)

* New translations readme.md (German)

* New translations readme.md (Italian)

* New translations readme.md (Japanese)

* New translations readme.md (Korean)

* New translations readme.md (Dutch)

* New translations readme.md (Norwegian)

* New translations readme.md (Polish)

* New translations readme.md (Portuguese)

* New translations readme.md (Russian)

* New translations readme.md (Turkish)

* New translations readme.md (Ukrainian)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Vietnamese)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Indonesian)

* New translations readme.md (Bengali)

* New translations readme.md (Sorani (Kurdish))

* New translations readme.md (Ukrainian)

* New translations readme.md (French)

* New translations readme.md (Spanish)

* New translations readme.md (Arabic)

* New translations readme.md (German)

* New translations readme.md (Italian)

* New translations readme.md (Japanese)

* New translations readme.md (Korean)

* New translations readme.md (Dutch)

* New translations readme.md (Norwegian)

* New translations readme.md (Polish)

* New translations readme.md (Portuguese)

* New translations readme.md (Russian)

* New translations readme.md (Turkish)

* New translations readme.md (Ukrainian)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Vietnamese)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Indonesian)

* New translations readme.md (Bengali)

* New translations readme.md (Sorani (Kurdish))

* New translations readme.md (Turkish)

* New translations readme.md (Ukrainian)

* New translations readme.md (Turkish)

* New translations readme.md (Vietnamese)

* New translations readme.md (Vietnamese)

* New translations readme.md (Vietnamese)

* New translations readme.md (Vietnamese)

* New translations tokyo-night.md (Vietnamese)

* New translations gruvbox-rainbow.md (Vietnamese)

* New translations readme.md (Vietnamese)

* New translations readme.md (Vietnamese)

* New translations bracketed-segments.md (Vietnamese)

* New translations nerd-font.md (Vietnamese)

* New translations no-runtimes.md (Vietnamese)

* New translations plain-text.md (Vietnamese)

* New translations pure-preset.md (Vietnamese)

* New translations pastel-powerline.md (Vietnamese)

* New translations no-nerd-font.md (Vietnamese)

* New translations no-empty-icons.md (Vietnamese)

* New translations gruvbox-rainbow.md (Vietnamese)

* New translations jetpack.md (Vietnamese)

* New translations readme.md (French)

* New translations readme.md (French)

* New translations readme.md (Spanish)

* New translations readme.md (Spanish)

* New translations readme.md (Arabic)

* New translations readme.md (Arabic)

* New translations readme.md (German)

* New translations readme.md (German)

* New translations readme.md (Italian)

* New translations readme.md (Italian)

* New translations readme.md (Japanese)

* New translations readme.md (Japanese)

* New translations readme.md (Korean)

* New translations readme.md (Korean)

* New translations readme.md (Dutch)

* New translations readme.md (Dutch)

* New translations readme.md (Norwegian)

* New translations readme.md (Norwegian)

* New translations readme.md (Polish)

* New translations readme.md (Polish)

* New translations readme.md (Portuguese)

* New translations readme.md (Portuguese)

* New translations readme.md (Russian)

* New translations readme.md (Russian)

* New translations readme.md (Turkish)

* New translations readme.md (Turkish)

* New translations readme.md (Ukrainian)

* New translations readme.md (Ukrainian)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Vietnamese)

* New translations readme.md (Vietnamese)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Indonesian)

* New translations readme.md (Indonesian)

* New translations readme.md (Bengali)

* New translations readme.md (Bengali)

* New translations readme.md (Sorani (Kurdish))

* New translations readme.md (Sorani (Kurdish))

* New translations readme.md (French)

* New translations readme.md (Spanish)

* New translations readme.md (German)

* New translations readme.md (Japanese)

* New translations readme.md (Russian)

* New translations readme.md (Ukrainian)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Vietnamese)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Indonesian)

* New translations readme.md (Vietnamese)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Russian)
2024-07-26 13:33:53 -04:00
github-actions[bot]
297b0e9576
chore(master): release 1.20.0 (#5990)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-26 19:33:11 +02:00
David Knaack
cfc58161e0
Merge commit from fork
addresses GHSA-vx24-x4mv-vwr5
2024-07-26 19:31:41 +02:00
renovate[bot]
4fa3914ba7 build(deps): update rust crate starship-battery to 0.9.1 2024-07-26 10:05:40 +00:00
renovate[bot]
e23b40fdfd build(deps): update crate-ci/typos action to v1.23.5 2024-07-26 10:05:31 +00:00
renovate[bot]
ddc16c6fd2 build(deps): update toml crates 2024-07-26 08:04:55 +00:00
renovate[bot]
f60cb0a993 build(deps): update clap crates to 4.5.11 2024-07-26 08:04:40 +00:00
David Knaack
d0cfa1756c
chore: cargo fmt (#6124) 2024-07-26 08:42:45 +02:00
David Knaack
6806f56c90
chore: bump deps and address clippy warnings (#6116) 2024-07-25 22:17:06 +02:00
Justin Su
eba9748eb1
fix(preset): fix typo in Open Policy Agent module format string (#6118)
* Fix `$symbo` typo in No Empty Icons preset

* Fix a few more typos
2024-07-25 20:15:34 +02:00
renovate[bot]
a3c091aa30 build(deps): update clap crates 2024-07-24 23:02:25 +00:00
renovate[bot]
e26cd5a656 build(deps): update rust crate shadow-rs to 0.30.0 2024-07-24 19:48:00 +00:00
renovate[bot]
2d3d830e67 build(deps): update rust crate mockall to 0.13.0 2024-07-24 19:46:34 +00:00
renovate[bot]
b9cabda61c build(deps): update crate-ci/typos action to v1.23.3 2024-07-24 19:46:15 +00:00
larswirzenius
6000231d12
chore: Minor changes to use more idiomatic Rust (integer max values; complicates nested expressions) (#6090)
* chore: use current way to get max value of an integer type

The std::usize::MAX way has been obsolete for quite some time now.
Found by clippy (clippy::legacy_numeric_constants).

Signed-off-by: Lars Wirzenius <liw@liw.fi>

* chore: use helper variable for a more idiomatic pattern matching

A nested expression can be harder to understand than two simpler
expressions. (Found by clippy lint clippy::blocks_in_conditions.)

Signed-off-by: Lars Wirzenius <liw@liw.fi>

---------

Signed-off-by: Lars Wirzenius <liw@liw.fi>
Co-authored-by: Lars Wirzenius <liw@liw.fi>
2024-07-24 21:06:40 +02:00
renovate[bot]
1c3bae29d3
build(deps): update rust crate nu-ansi-term to 0.50.1 2024-07-24 02:06:06 +00:00
renovate[bot]
c3c640081d
build(deps): update rust crate gix to 0.64.0 2024-07-23 19:51:13 +00:00
renovate[bot]
1e3e7397f1
build(deps): update dependency dprint/dprint-plugin-typescript to v0.91.4 2024-07-22 01:39:29 +00:00
renovate[bot]
1ea64dd02a
build(deps): update toml crates 2024-07-17 18:56:08 +00:00
Alvaro Aleman
fae92b2964
perf(k8s): Improve performance of kubeconfig module (#6032)
* Fix config schema

* Improve performance of kubeconfig module

This module currently takes about 200 ms when using our ~10MiB
kubeconfig. This change improves its performance by:
* Only parsing the file once
* (Naively) checking if the content is yaml or json and potentially
  parse as the latter, as that seems to be much faster
2024-07-16 22:26:03 +02:00
renovate[bot]
c251897ae8 build(deps): update dependency vitepress to ^1.3.1 2024-07-15 04:41:18 +00:00
renovate[bot]
9c0aa12845
build(deps): update dependency dprint/dprint-plugin-typescript to v0.91.3 2024-07-15 00:13:44 +00:00
renovate[bot]
50cd112207
build(deps): update reviewdog/action-suggester action to v1.17.0 2024-07-14 13:04:29 +00:00
renovate[bot]
27cc4bcbab
build(deps): update rust crate clap_complete to 4.5.8 2024-07-11 04:45:13 +00:00
renovate[bot]
0e04c55fba
build(deps): update crate-ci/typos action to v1.23.2 2024-07-10 19:26:30 +00:00
renovate[bot]
c378d1dad8
build(deps): update rust crate open to 5.3.0 2024-07-10 06:16:29 +00:00
renovate[bot]
824b6952b3
build(deps): update rust crate clap to 4.5.9 2024-07-09 03:05:49 +00:00
renovate[bot]
205b4bdec2
build(deps): update rust crate toml_edit to 0.22.15 2024-07-08 21:21:43 +00:00
renovate[bot]
2ca0de0f6f
build(deps): lock file maintenance 2024-07-08 03:41:55 +00:00
renovate[bot]
d7699fb1b6 build(deps): update dependency vitepress to ^1.3.0 2024-07-08 03:39:11 +00:00
renovate[bot]
414e83ccb1
build(deps): update dependency dprint/dprint-plugin-typescript to v0.91.2 2024-07-08 00:18:53 +00:00
David Knaack
48dfcfc0ed
ci: fix prevent prevent file change workflow (#6018) 2024-07-07 16:17:34 +02:00
David Knaack
52a89a515e
fix(dotnet): Remove duplicate v in dotnet version (#6060)
* Remove duplicate `v` in dotnet version

Every language version provider returns the version without a leading 'v', and the shared code then prepends the 'v'. Take a look at Python for example.

The Dotnet provider prepends a 'v' however, causing the version to be printed like 'vv8.0.203'.

* Update src/modules/dotnet.rs

* tests(dotnet): add test for obtaining version from cli

---------

Co-authored-by: Bernd Verst <github@bernd.dev>
2024-07-07 16:15:56 +02:00
Cosmo Lau
f6ede1a1e5
docs(config): Update the sidebar in Simplified Chinese (#6071) 2024-07-07 16:15:09 +02:00
renovate[bot]
a4d96ed0db
build(deps): update reviewdog/action-suggester action to v1.16.0 2024-07-07 01:50:35 +00:00
renovate[bot]
22ff456e48
build(deps): update rust crate serde to 1.0.204 2024-07-06 21:29:15 +00:00
renovate[bot]
5cda5d56e6
build(deps): update rust crate gethostname to 0.5.0 2024-07-06 08:38:25 +00:00
renovate[bot]
ba907fb39d
build(deps): update crate-ci/typos action to v1.23.1 2024-07-05 15:15:04 +00:00
renovate[bot]
8809e91720
build(deps): update crate-ci/typos action to v1.23.0 2024-07-05 03:35:08 +00:00
renovate[bot]
c0540c2a7e build(deps): update pest crates to 2.7.11 2024-07-02 14:25:30 +00:00
renovate[bot]
2faf609e5f
build(deps): update rust crate open to 5.2.0 2024-07-02 07:50:59 +00:00
renovate[bot]
06753d012a
build(deps): update rust crate serde_json to 1.0.120 2024-07-01 20:07:27 +00:00
renovate[bot]
7a544589a4
build(deps): lock file maintenance 2024-07-01 02:09:18 +00:00
renovate[bot]
a966567932
build(deps): update rust crate serde_json to 1.0.119 2024-06-30 21:17:53 +00:00
Iuliia Gracheva
4d36d463b9
feat(gcloud): Disabled gcloud module when active config hasn't been set (#6039)
* disabled gcloud module when active config hasn't been set

* added test case

* updated config-schema
2024-06-29 23:00:07 +02:00
Jouni
346d8acf3e
docs(preset): update the nerd-font-symbols preset (#5931) 2024-06-28 23:42:40 +02:00
A
0d688c312a
docs(preset): refactor jetpack 1.0.0 (#6002)
* docs(jetpack): reorg `format` module, add continuation prompt,

* docs(jetpack): update `character` module symbols

* docs(jetpack): update `sudo` & `username` modules symbols & styles

* docs(jetpack): update `directory` module symbol & styles, add repo root

* docs(jetpack): update `cmd_duration` module - format, min_time, millisecs

* docs(jetpack): update `jobs` module format

* docs(jetpack): udpate `time` module - style & range

* docs(jetpack): refactor `battery` module - styles & threshold

* docs(jetpack): refactor `git` modules - styles & symbols

* docs(jetpack): refactor modules styles, & version format

* docs(jetpack): add version `1.0.0`

* fix(format): remove trailing comments

* fix(checks): resolve validation scheme errors

* fix: resolve schema validation failure

* Update docs/public/presets/toml/jetpack.toml

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

* chore(review): remove comments

* refactor(review): remove `blink` style

* refactor(review): use correct `character` module option (`vimcmd_symbol`)

* refactor: remove user specific options

* docs(jetpack): update image

---------

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2024-06-28 23:41:54 +02:00
Jovan Gerodetti
9a3e87f2cb
feat(color): add prev_fg and prev_bg as color specifiers based on the previous foreground/background colors respectively (#6017)
feat(color): add prevfg,prevbg as color specifiers based on the previous foreground/background colors respectively

Co-authored-by: Vladimir Lushnikov <vladimir@solidninja.is>
2024-06-28 23:40:35 +02:00
Evan Mattiza
e0281868c9
feat(purescript): add support for spago-next configuration files (#6036)
* update: add purescript spago-next configuration files

in upcoming spago projects, the configuration file is changing from
spago.dhall -> spago.yaml and spago.lock. This will detect both styles
for the time being

* fix typo

did not update test. spago.yaml -> spago.lock in the spago lock file
test case
2024-06-28 23:39:40 +02:00