1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-27 19:54:55 +00:00
Commit Graph

2914 Commits

Author SHA1 Message Date
renovate[bot]
7ce919011e
build(deps): update rust crate clap to 4.4.2 2023-08-31 22:35:20 +00:00
Hugo
5ca8daacd4
perf: Skip unnecessary indirection in starship init zsh (#5322)
Skip unnecessary indirection in starship init zsh

The installation instructions indicate that one should add this snippet
to zsh's configuration:

    eval "$(starship init zsh)"

The command `starship init zsh` prints a little shell script for zsh to
execute:

    > starship init zsh
    source <(/usr/bin/starship init zsh --print-full-init)%

Running `starship init zsh --print-full-init` prints yet another script
that zsh executes. There is an intermediate step that seems redundant;
starship prints a script for zsh to execute, and this script prints
another script for zsh to execute.

This commit skips the intermediate execution and prints the final script
in `starship init`. This is backwards compatible and does not require
any changes in the installation instructions, so it could be release
without a major version bump.

Note that it would still be possible to update the installation
instructions to `source <(starship init zsh)`; this patch works with
both `source` and `eval`. Picking the most performant one is beyond this
scope of this commit.

See: https://github.com/starship/starship/issues/2637
2023-08-31 19:08:13 +02:00
renovate[bot]
1884409c56
build(deps): update crate-ci/typos action to v1.16.9 2023-08-30 16:26:37 +00:00
renovate[bot]
e4a3bda223
build(deps): update pest crates to 2.7.3 2023-08-30 13:25:13 +00:00
renovate[bot]
1c529c6996
build(deps): update rust crate schemars to 0.8.13 2023-08-28 23:14:50 +00:00
renovate[bot]
23c8146681
build(deps): update rust crate clap to 4.4.1 2023-08-28 19:49:02 +00:00
renovate[bot]
1024b764b4
build(deps): update rust crate nix to 0.27.1 2023-08-28 14:44:50 +00:00
renovate[bot]
4af140bfb7
build(deps): update rust crate nix to 0.27.0 2023-08-28 04:11:34 +00:00
renovate[bot]
38e9f59ee7
build(deps): update dependency dprint/dprint-plugin-markdown to v0.16.0 2023-08-28 00:38:03 +00:00
renovate[bot]
89f801539c
build(deps): update rust crate regex to 1.9.4 2023-08-26 17:28:15 +00:00
renovate[bot]
b7dba1f225 build(deps): update clap crates to 4.4.0 2023-08-26 07:34:04 +00:00
renovate[bot]
e368d96d44
build(deps): update rust crate serde to 1.0.188 2023-08-26 04:00:32 +00:00
renovate[bot]
8bed8da763
build(deps): update rust crate serde to 1.0.187 2023-08-25 20:54:12 +00:00
David Knaack
77967148b6
chore: handle rust 1.72 clippy & fmt changes (#5399) 2023-08-25 22:53:35 +02:00
renovate[bot]
d3ec97f86f
build(deps): update rust crate serde to 1.0.186 2023-08-24 02:06:02 +00:00
renovate[bot]
5b5e20a06f
build(deps): update rust crate notify-rust to 4.9.0 2023-08-22 22:29:47 +00:00
renovate[bot]
9388eb8c44
build(deps): update gitoxide crates 2023-08-22 11:27:27 +00:00
renovate[bot]
cc08685c2c
build(deps): update crate-ci/typos action to v1.16.8 2023-08-21 18:23:54 +00:00
renovate[bot]
dd9a2b4896
build(deps): update rust crate serde to 1.0.185 2023-08-21 07:41:30 +00:00
renovate[bot]
93808735ff build(deps): update dependency vuepress to ^1.9.10 2023-08-21 04:54:25 +00:00
renovate[bot]
3ab8e3298c
build(deps): update dependency dprint/dprint-plugin-typescript to v0.86.2 2023-08-21 01:50:06 +00:00
renovate[bot]
2084e36cbb
build(deps): update rust crate tempfile to 3.8.0 2023-08-19 03:57:36 +00:00
renovate[bot]
82ed96d0ce build(deps): update rust crate clap to 4.3.23 2023-08-19 03:56:19 +00:00
renovate[bot]
4c6835bfd8
build(deps): update crate-ci/typos action to v1.16.6 2023-08-19 01:35:06 +00:00
renovate[bot]
85ef8891e1
build(deps): update rust crate clap to 4.3.22 2023-08-17 15:33:05 +00:00
renovate[bot]
f29416094b
build(deps): update rust crate serde_json to 1.0.105 2023-08-15 23:33:05 +00:00
renovate[bot]
cfdd8d9ca0
build(deps): update crate-ci/typos action to v1.16.5 2023-08-14 17:24:23 +00:00
renovate[bot]
44c962cac2
build(deps): update dependency dprint/dprint-plugin-typescript to v0.86.1 2023-08-14 01:03:38 +00:00
renovate[bot]
8b9dc95cd5 build(deps): update rust crate log to 0.4.20 2023-08-13 21:22:17 +00:00
renovate[bot]
639f1fa889
build(deps): update rust crate versions to 5.0.1 2023-08-13 15:06:09 +00:00
renovate[bot]
d63ef1febb
build(deps): update crate-ci/typos action to v1.16.4 2023-08-12 05:02:43 +00:00
renovate[bot]
173486f85c
build(deps): update crate-ci/typos action to v1.16.3 2023-08-09 14:10:13 +00:00
renovate[bot]
f7c897eddd build(deps): update rust crate tempfile to 3.7.1 2023-08-08 07:57:48 +00:00
renovate[bot]
56cb51c499
build(deps): update rust crate clap to 4.3.21 2023-08-08 03:02:09 +00:00
renovate[bot]
b24bdbc74e
build(deps): update reviewdog/action-suggester action to v1.7.4 2023-08-07 16:12:29 +00:00
renovate[bot]
b10cccab28
build(deps): update rust crate serde to 1.0.183 2023-08-07 05:14:13 +00:00
renovate[bot]
4423670ad8 build(deps): update rust crate regex to 1.9.3 2023-08-06 16:51:11 +00:00
renovate[bot]
4122cf19e6
build(deps): update rust crate serde to 1.0.182 2023-08-06 07:15:50 +00:00
renovate[bot]
04f0fe380a
build(deps): update reviewdog/action-suggester action to v1.7.3 2023-08-06 04:50:27 +00:00
renovate[bot]
4a61dd7747
build(deps): update rust crate starship-battery to 0.8.2 2023-08-05 09:29:38 +00:00
renovate[bot]
4ac4fa886e
build(deps): update reviewdog/action-suggester action to v1.7.2 2023-08-05 06:40:48 +00:00
renovate[bot]
00092928a9 build(deps): update rust crate serde to 1.0.181 2023-08-04 12:20:57 +00:00
David Knaack
5e9acb7e80
ci: fix choco package push (#5349) 2023-08-04 09:06:37 +02:00
renovate[bot]
bc2b84eba4
build(deps): update rust crate gix to 0.51.0 2023-08-02 15:32:47 +00:00
Zhou Fang
af1f08ce16
docs(preset): add gruvbox rainbow preset (#5321)
* docs: add new preset gruvbox-rainbow

* docs: add readme page of gruvbox-rainbow preset

* docs: update the screenshot of gruvbox-rainbow

* fix: update the background color of root

* format: fix markdown format

* format: fix markdown format with dprint

* docs(presets): sort the options

* docs(presets): use $linebreak instead of \n

* docs(presets): add icons for redhat distro

* perf: put the space into version block

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

* docs(presets): use custom palette to manage colors

* docs(presets): put the space into version block for all context

* docs(presets): add prefix to color names

---------

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2023-08-02 17:32:03 +02:00
renovate[bot]
1d978ef772 build(deps): update pest crates to 2.7.2 2023-08-01 22:04:41 +00:00
renovate[bot]
667a07bf88
build(deps): update crate-ci/typos action to v1.16.2 2023-08-01 20:25:17 +00:00
David Knaack
03278e4de4
fix(git): prevent core.fsmonitor from executing external commands (#3981) 2023-07-31 21:44:31 +02:00
renovate[bot]
53a8808e7a build(deps): update rust crate serde to 1.0.180 2023-07-31 19:43:04 +00:00
Bernhard M. Wiedemann
7ff5f6ad22
build: Sort toml preset files (#5352)
build: Sort toml input file list

for reproducible build results.

See https://reproducible-builds.org/ for why this is good.

This patch was done while working on reproducible builds for openSUSE.
2023-07-31 21:42:46 +02:00