Commit Graph

2497 Commits

Author SHA1 Message Date
renovate[bot]
c79e1d2be2 build(deps): update rust crate clap to 4.0.30 2022-12-21 07:10:12 +00:00
Kevin Song
addd11e300
refactor(kubernetes): Remove nested Options (#4743)
Kubernetes module was previously a bit messy, with lots of
unnecessarily nested options. Clean this up using filter_map and
find_map, with two major results:

1. `ctx_components` is now a Vec<KubeCtxComponent> instead of a
   Vec<Option<KubeCtxComponent>>. This greatly simplified downstream
   processing of these context components.

2. Instead of storing a partial computation of the namespace in
   variables `kube_ns`, etc, compute them directly in the formatter
   mapping. This is made simpler (read: actually doable) by change 1.
2022-12-20 19:04:40 -06:00
Jett Chen
a51f76375f
docs: fix README shields badge (#4740) 2022-12-19 18:15:30 +09:00
renovate[bot]
f720abed4b build(deps): update rust crate serde_json to 1.0.91 2022-12-19 06:45:35 +00:00
renovate[bot]
bad5618870 build(deps): update dependency dprint/dprint-plugin-markdown to v0.15.1 2022-12-19 03:53:24 +00:00
renovate[bot]
3c43676771 build(deps): update rust crate serde to 1.0.151 2022-12-19 00:26:38 +00:00
renovate[bot]
1ef96d3ddc build(deps): update rust crate semver to 1.0.16 2022-12-18 21:38:14 +00:00
Foster Z
27d167b7a2
fix(git_commit): fix potential test failure (#4734)
Changes git command used in tests to avoid potential failures 
with lightweight tags.
2022-12-18 12:33:01 -06:00
renovate[bot]
eb5a01b773 build(deps): update rust crate semver to 1.0.15 2022-12-18 16:30:21 +00:00
renovate[bot]
c75d88f2ad build(deps): update rust crate process_control to 4.0.1 2022-12-18 13:40:57 +00:00
David Knaack
14de3b34c1
chore: fix clippy warnings in gradle module (#4736) 2022-12-18 14:18:37 +01:00
Martin Weissbach
0abf4b937e
docs(config): clarify git-commit tag variable (#4729)
The `git_commit` module uses a `tag` variable in its format string,
which is not explained in the Variables section of this module.

Missing clarification of this `tag` variable is added to the
documentation of the `git_commit` module.

Fixes starship/4640
2022-12-17 20:51:38 -06:00
David Knaack
aa6c2dd588
chore: fix clippy warnings for rust 1.66 (#4715)
chore: fix new clippy lints
2022-12-17 18:01:27 +01:00
Marie
220844daa0
feat(gradle): add gradle module (#4423)
* docs: document gradle module

* implement gradle module

* gradle-module: add test for wrapper properties case

* docs: improve gradle module documentation

* fix: fix gradle module wrapper properties test

* drop gradle executable strategy

* apply suggested stuff

* Fix config schema
2022-12-17 13:32:40 +01:00
renovate[bot]
1f7d1e39c6 build(deps): update rust crate shadow-rs to 0.19.0 2022-12-14 20:33:06 +00:00
renovate[bot]
e70b8148e9 build(deps): update rust crate toml to 0.5.10 2022-12-14 18:00:51 +00:00
github-actions[bot]
4316eeb57f
chore(master): release 1.12.0 (#4485) 2022-12-14 01:01:35 +09:00
Matan Kushner
42d8ec3717
docs(i18n): new Crowdin updates (#4711) 2022-12-14 00:50:29 +09:00
renovate[bot]
dac6d998cf build(deps): update dprint plugins 2022-12-12 09:21:56 +00:00
Matan Kushner
0d98c4c0b7
docs(i18n): new Crowdin updates (#4687) 2022-12-12 14:14:19 +09:00
Matan Kushner
18e714598d
ci: add Norwegian docs to formatting exceptions 2022-12-12 14:13:20 +09:00
renovate[bot]
c6485e33dd build(deps): update rust crate serde to 1.0.150 2022-12-12 04:13:40 +00:00
renovate[bot]
ab614a372c build(deps): update rust crate rayon to 1.6.1 2022-12-10 02:14:44 +00:00
Dennis Waitong Lam
7341607c29
fix(buf): broken icon on windows 10 (#4689)
Closes https://github.com/starship/starship/issues/4608
2022-12-09 18:41:59 +09:00
renovate[bot]
c9de67bd66 build(deps): update rust crate serde to 1.0.149 2022-12-05 14:44:07 +00:00
renovate[bot]
9af9db8f2b
build(deps): update dependency dprint/dprint-plugin-markdown to v0.14.3 (#4683) 2022-12-05 16:14:30 +09:00
Matan Kushner
70c05d49bd
docs(i18n): new Crowdin updates (#4487) 2022-12-05 15:54:12 +09:00
rkucsora
37b13ca260
docs: Fix "vimcmd_visual_symbol" description in doc (#4675)
Fix "vimcmd_visual_symbol" description in doc
2022-12-04 23:45:52 -06:00
renovate[bot]
ca8009316a build(deps): update rust crate notify-rust to 4.6.0 2022-12-04 21:24:19 +00:00
AlexHaxe
2766c78749
feat: add Haxe support (#4395)
* Add Haxe support

* avoid unwrap

* fix doc formatting

* removed extra newline

* fixed formatter and linter issues

* fixed config file

* better version of detecting contents of .haxerc

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

* removed openfl related defaults from detect_files

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

* fixed formatting

* reworked reading .haxerc with fallback to haxe --version

* fixed formatting

* added fallback to executable for dev paths in .haxerc

* fixed linter issue

* added support for Windows paths

* use or_else

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

* use shorter version with `?`

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

* simplified regex check

removed check for "null" string

* fixed format

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2022-12-04 18:28:49 +01:00
David Knaack
ef83e7a092
fix(pwsh): fix error log display on older versions of pwsh (#4650) 2022-12-02 14:17:57 -06:00
renovate[bot]
9d4870775a build(deps): update pest crates to 2.5.1 2022-12-02 15:58:09 +00:00
nibon7
a7abc0f450
feat(nu): enable right prompt (#4490)
Closes #3982
2022-12-02 12:40:36 +01:00
Matan Kushner
497039be07
ci: add Ukranian docs to formatting exceptions 2022-12-02 16:27:07 +09:00
cgzones
ea6249b524
feat(directory): add before_repo_root_style (#4595) 2022-12-01 23:09:11 +01:00
cgzones
ddd54e9b20
feat(localip): use reserved remote address (#4648)
Instead of the remote address of 8.8.8.8 (Google DNS) in the crate
local_ipaddress use a reserved IPv4 address, that should never be
assigned.
Also forward the underlying error on failure.

Supersedes: #4614
2022-12-01 19:51:04 +01:00
renovate[bot]
9484e7eb01 build(deps): update rust crate gethostname to 0.4.1 2022-12-01 17:29:18 +00:00
Hanchin Hsieh
e01a4cc8d8
docs: add Tokyo Night preset (#4668) 2022-11-30 17:36:03 +09:00
renovate[bot]
9553501627 build(deps): update rust crate nix to 0.26.1 2022-11-29 21:31:57 +00:00
renovate[bot]
ed4deb59d0 build(deps): update rust crate clap to 4.0.29 2022-11-29 18:42:24 +00:00
renovate[bot]
fcf7179425 build(deps): update rust crate terminal_size to 0.2.3 2022-11-29 09:20:55 +00:00
renovate[bot]
41710889ed build(deps): update rust crate clap to 4.0.28 2022-11-29 06:06:50 +00:00
renovate[bot]
b10ec8697b build(deps): update rust crate serde to 1.0.148 2022-11-29 00:07:52 +00:00
David Knaack
7fa0c04555
chore: replace sha-1 with sha1 crate (#4662) 2022-11-28 20:34:21 +01:00
renovate[bot]
7998c4a14d build(deps): update rust crate git-features to 0.24.1 2022-11-28 19:13:33 +00:00
Gabriel Victor
0427863168
fix: don't attempt to display cmd_duration notification if in TTY (#4535)
Disables the display of notifications from cmd_duration on Linux if
none of DISPLAY, WAYLAND_DISPLAY, or MIR_SOCKET are set.
This prevents starship from attempting to create notifications in tty 
environments, which was previously causing hangs.
2022-11-28 07:23:03 -06:00
renovate[bot]
c2c2eecf7e build(deps): update dependency dprint/dprint-plugin-markdown to v0.14.2 2022-11-28 06:01:38 +00:00
Chris Rose
c8ac8777a5
fix(aws): enable when using .aws/credentials (#4604) 2022-11-27 15:06:05 +01:00
Ryan Sabatini
6e15c00238
feat(azure): add username to azure module config (#4323)
* add username to azure module config

* add username to azure module config

* formatting with cargo fmt

* Handle parse failure on azureProfile.json

allow program to procede if unable to parse azure profile due to missing
keys from the JSON structure.
remove unused keys from struct

Code cleanup with suggestions from PR maintainer

Cargo clippy fixes
2022-11-27 15:02:23 +01:00
geisterfurz007
5cfa397ef9
docs: Fix mention of Node.js in Bun docs (#4651)
* Fix mention of Node.js in Bun docs

* Fix whitespace blunder

* Fix whitespace blunder in the other direction
2022-11-25 18:44:22 +01:00