1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-09 14:51:04 +00:00
Commit Graph

17 Commits

Author SHA1 Message Date
Matan Kushner
5ff08708c5
chore: upgrade to edition 2021 (#3171) 2021-10-25 13:39:09 -04:00
Marcin Puc
6598275e15
refactor: simplify iterator usage (#3017) 2021-09-02 11:48:29 -04:00
David Knaack
8af677c811
feat(config): print a suggestion for unknown fields (#2560)
* feat(config): print a suggestion for unknown fields

* Fix typo

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2021-04-06 22:12:37 +02:00
Dario Vladović
cba98bde10
chore: filter crate/s contents (#2495) 2021-04-01 18:45:13 +02:00
David Knaack
51972801de
feat(config): warn about unknown config key names (#2527) 2021-03-31 20:13:23 +02:00
David Knaack
d06ba072a8
feat(config): allow printing default and computed config (#2521)
* feat: allow printing default and computed config

* fix custom modules

* actually fix custom modules
2021-03-31 17:31:55 +02:00
Matan Kushner
3a1b7816d7
chore(release): release starship_module_config_derive v0.1.2 2020-09-30 16:13:42 -04:00
Matan Kushner
59f939e25c
chore: update v0.45.0 removal notice (#1687)
* chore: update deprecation notice

* Add deprecation page to sidebar

* Replace the use of "deprected" with "removed"
2020-09-29 12:35:11 -04:00
Tilmann Meyer
2233683410
feat: add error messaging (#1576)
This creates a custom logger for the log crate which logs everything to a file (/tmp/starship/session_$STARSHIP_SESSION_KEY.log) and it logs everything above Warn to stderr, but only if the log file does not contain the line that should be logged resulting in an error or warning to be only logged at the first starship invocation after opening the shell.
2020-09-28 16:38:50 -04:00
Matan Kushner
40bbd5d3cb
docs: Replace project tagline 2020-02-12 21:46:00 -05:00
Tobias Bieniek
9a1569444b refactor: ModuleConfig: Simplify generated from_config() implementations (#775)
We can use `and_then()` to string `Option` values together so that we only need a single `?` assertion. This makes it generally possible to have e.g. `unwrap_or()` at the end.
2019-12-23 10:12:21 -05:00
Matan Kushner
f458a5e8c9
chore(config_derive): v0.1.1 2019-12-07 16:43:44 -05:00
Matan Kushner
e560927c71
chore: Add a license file for starship_module_config_derive
Closes #667
2019-11-27 11:58:57 -05:00
Matan Kushner
05210b9510
refactor: Go from Rust workspaces to a package with nested packages (#480) 2019-10-04 22:30:46 +09:00
Matan Kushner
1cab6854bc
chore(bump): v0.20.0 2019-10-04 18:02:17 +09:00
Zhenhui Xie
c39506c6f6 chore: Cleanup after the config refactor (#453) 2019-09-30 23:56:05 +09:00
Zhenhui Xie
dd0b1a1aa2 refactor: Refactoring config (#383)
This PR refactors config and puts configuration files for all modules in `configs/`.
2019-09-30 21:10:35 +09:00