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

488 Commits

Author SHA1 Message Date
Matan Kushner
3d07c08f4f
ci: Fix environment variable used by brew 2019-10-09 19:46:02 +09:00
Matan Kushner
14b266869f
chore(bump): v0.22.0 2019-10-09 11:54:08 +09:00
allcontributors[bot]
a19914031b docs: add Southclaws as a contributor (#511) 2019-10-09 10:45:56 +09:00
Barnaby Keene
9f365f84d1 refactor: Allow starship to be better used programmatically (#509)
Structure the prompt as a function that returns a string instead of writing directly to stdout.

This makes it easier to embed Starship into other Rust programs such as shells written in Rust. It also decouples the arguments from the context for more programmatic initialization of the context.
2019-10-09 10:43:28 +09:00
Maarten Mulders
8058b51273 feat: Show Java module when build.sbt is present (#505)
* feat: Show Java icon and info when build.sbt detected

* docs: Mention build.sbt detection
2019-10-07 19:18:01 +09:00
allcontributors[bot]
72fbd5b1ba docs: add pt2121 as a contributor (#504) 2019-10-07 11:35:13 +09:00
(´⌣`ʃƪ)
77c25b60c2 fix: Don't print the first module prefix after a line-break (#473) 2019-10-07 00:46:46 +09:00
Matan Kushner
ab5dae3d05
ci: Use shell expansion to get the release version for brew 2019-10-07 00:19:38 +09:00
Matan Kushner
0f9b4ef603
chore: Remove the Azure Pipelines cargo badge 2019-10-06 16:12:36 +09:00
Matan Kushner
e41f3bcd84
chore(bump): v0.21.0 2019-10-06 16:02:07 +09:00
Nikodem Rabuliński
06ba22eb5c refactor: Implement Default for SegmentConfig (#495)
Implements the Default trait for SegmentConfig to clean up construction of empty segments.

Also adds a segment::new() function to ease construction of simple segments.
2019-10-05 20:46:14 -05:00
Zhenhui Xie
044e10de1b chore: Import shared types from super (#492)
Changes imports statements to make imports more uniform.
2019-10-05 16:13:03 -05:00
AppleTheGolden
7657af0680 feat: Add conda module (#469) 2019-10-05 13:25:25 -05:00
allcontributors[bot]
e911e76e6b docs: Update andytom as a contributor (#494) 2019-10-06 00:09:46 +09:00
allcontributors[bot]
cda63bdd5a docs: add pbzweihander as a contributor (#493) 2019-10-06 00:09:21 +09:00
Thomas Lee
27e8c8f3eb refactor: Rewrite time module to use module config (#483)
- Config option renamed: `12hr` → `use_12hr`
2019-10-06 00:07:00 +09:00
Zhenhui Xie
bc9e44f45c fix: Add disable configuration option to kubernetes module (#491) 2019-10-05 23:10:16 +09:00
Matan Kushner
e5d37e0a97
ci: Fix the use of COMMIT_TAG when bumping brew formula 2019-10-05 22:23:15 +09:00
allcontributors[bot]
153eddda10 docs: add andytom as a contributor (#490) 2019-10-05 19:07:54 +09:00
Matan Kushner
9e5fe9e500
chore(bump): v0.20.2 2019-10-05 19:05:17 +09:00
Matan Kushner
f2e20bbea2
revert: chore: Remove logic for the disabled option from modul… (#489)
This reverts commit 6c6e0ef1dd.
2019-10-05 19:03:48 +09:00
Matan Kushner
04512a66d9
docs: Update the link of the workflow badge 2019-10-05 18:41:35 +09:00
Matan Kushner
ea00d3250d
docs: Update workflow badge link 2019-10-05 18:31:59 +09:00
Thomas O'Donnell
5a8777ff45 fix: Disable Kubernetes module by default (#488)
Given the global nature of the Kubernetes module, the module has been disabled by default. The opportunity has also been taken to refactor the Kubernetes module to use the new config module.
2019-10-05 18:31:23 +09:00
Matan Kushner
1bf60b3dd5
ci: Rename main workflow to "Main workflow" 2019-10-05 18:29:13 +09:00
Zhenhui Xie
bedf264a9f fix: Fix module configuration loading (#487) 2019-10-05 18:21:48 +09:00
Zhenhui Xie
6c6e0ef1dd chore: Remove logic for the disabled option from modules (#486) 2019-10-05 18:07:33 +09:00
Matan Kushner
2bfc98641d
docs: Replace Azure Pipelines badge with GitHub Actions badge 2019-10-05 12:56:45 +09:00
Matan Kushner
935863ddb7
ci: Remove changelog generation for now 2019-10-05 00:38:11 +09:00
Matan Kushner
690bbf1b60
chore: Trigger CI 2019-10-05 00:34:33 +09:00
Matan Kushner
c047753a66
chore: Trigger CI 2019-10-05 00:26:26 +09:00
Matan Kushner
fbc248e22a
chore: Trigger CI 2019-10-05 00:23:41 +09:00
Matan Kushner
5fb9593135
ci: Auto-generate CHANGELOG.md 2019-10-05 00:17:29 +09:00
Matan Kushner
3e7b673e89
ci: Fix crates token scope 2019-10-04 23:54:21 +09:00
Matan Kushner
3ef9a953c1
ci: Add brew bump formula version 2019-10-04 23:36:49 +09:00
Matan Kushner
fcaf2592e6
ci: Replace cargo-publish-all with cargo 2019-10-04 23:22:14 +09:00
Matan Kushner
b8313da2cc
chore(bump): v0.20.1 2019-10-04 22:33:38 +09: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
e90a3768da
ci: Use target as matrix instead of OS 2019-10-04 21:47:09 +09:00
Zhenhui Xie
cda01deffa refactor: Rewrite aws and character module to use module config (#459) 2019-10-04 21:42:33 +09:00
Matan Kushner
1d701729cf
ci: Add the Crates.io token secret for publishing 2019-10-04 19:04:46 +09:00
Matan Kushner
1fb0cb12eb
docs: Use absolute links for translations 2019-10-04 18:20:51 +09:00
Matan Kushner
49ad1806f8
docs: Use absolute links for flag images 2019-10-04 18:15:23 +09:00
Matan Kushner
0a29540146
chore(bump): v0.20.0 correctly 2019-10-04 18:05:18 +09:00
Matan Kushner
1cab6854bc
chore(bump): v0.20.0 2019-10-04 18:02:17 +09:00
Matan Kushner
abcea4b3d9
docs(i18n): Update Crowdin translations (#441) 2019-10-04 17:57:43 +09:00
dependabot-preview[bot]
7fc85669bb
chore(deps): Bump serde_json from 1.0.40 to 1.0.41 (#478) 2019-10-04 08:47:17 +00:00
Matan Kushner
aee46dd678
ci: Update CI and migrate publish job to Actions (#455)
- Replace hecrj/setup-rust-action with actions-rs tools
- Add a Cargo Audit test step
- Move cargo publish step from Azure Pipelines to GitHub Actions
- Use cargo-publish-all to publish multiple packages at once
- Automate the creation of release notes
2019-10-04 15:12:48 +09:00
Thomas O'Donnell
34bca5a035 fix: Add Kubernetes to the default prompt order (#466) 2019-10-03 15:52:07 +09:00
Nick Young
6621e4c859 feat: Add dotnet module (#416)
Adds a .NET module, which preferentially parses local/git files to get
the .NET version.
2019-10-02 01:56:48 -05:00