Commit Graph

1931 Commits

Author SHA1 Message Date
Clément Joly 7e21f5c6b6 Refactor: Remove unnecessary parentheses in if condition (#566) 2019-10-20 17:36:02 +09:00
Barnaby Keene 2c7e01cd62 refactor: improve as-a-library usage by removing ArgMatches depe… (#547)
This removes ArgMatches from the Context struct and replaces it with a simple HashMap. This work is towards getting Starship in a better place for use as a library in other shells written in Rust so they don't need to use a command-line interface to invoke and configure things.

Contributes to #521
2019-10-20 17:26:27 +09:00
Matan Kushner 48cd6bc519
docs: Add all-contributors badge template comments 2019-10-20 17:13:19 +09:00
Zhenhui Xie aadd8ecf2c refactor: Refactor modules to use module config (#514) 2019-10-19 10:51:38 +09:00
allcontributors[bot] 09353fff00 docs: add CSumm as a contributor (#558) 2019-10-18 23:01:19 +09:00
Carl Summers 097ac144f4 docs: Add docs for running the starship website locally (#552) 2019-10-18 23:00:38 +09:00
Nguyễn Hồng Quân 27fad02837 fix: Separate Python version string and env name (#548) 2019-10-17 18:55:48 +09:00
Matan Kushner e2e7277630
ci: Correct the brew directory being navigated to 2019-10-16 11:51:30 +09:00
Matan Kushner 47268a64e7
ci: Fix stripping artifact on Windows 2019-10-16 11:45:51 +09:00
Matan Kushner f2031e7d00
ci: Ignore doc changes on pull_request events 2019-10-16 00:32:41 +09:00
Matan Kushner b34b1e9188
chore(bump): v0.25.0 2019-10-16 00:23:09 +09:00
Matan Kushner 392fa247b7
docs: Add Powershell setup to repo README 2019-10-16 00:17:55 +09:00
allcontributors[bot] 5570fcc47c docs: add davidkna as a contributor (#541) 2019-10-16 00:13:00 +09:00
David Knaack 6ab70796db feat: Implement PowerShell support (#470) 2019-10-16 00:10:16 +09:00
Matan Kushner b5bb6d6994
refactor: Replace tempdir test utility with tempfile::tempdir (#538) 2019-10-15 23:01:44 +09:00
Matias Kotlik d2eef11148 refactor: Refactor git_branch module to use new module config (#535) 2019-10-15 20:48:53 +09:00
Zhenhui Xie be2d5cf1cd refactor: Rewrite cmd_duration, directory and env_var module to use module config (#460)
This PR is a batched rewrite of the following modules:
- cmd_duration
- directory
- env_var
2019-10-15 20:34:48 +09:00
allcontributors[bot] 2fd1920f7d docs: add zekesonxx as a contributor (#534) 2019-10-15 01:24:12 +09:00
Zach Mertes 5303fd7684 feat: Add configuration for hostname truncation (#485) 2019-10-15 01:22:25 +09:00
Matan Kushner 4634449354
ci: Reset brew installation before bump-formula-pr 2019-10-15 01:05:51 +09:00
Matan Kushner 76b47f2f65
ci: Don't run tests for doc updates 2019-10-15 00:34:26 +09:00
Matan Kushner 49bf190929
chore(bump): v0.24.0 2019-10-15 00:19:18 +09:00
allcontributors[bot] 61e99d6c61 docs: add LukeAI as a contributor (#533) 2019-10-15 00:17:01 +09:00
LukeAI afd25c85d9 docs: Add x86-64 linux binary installation instructions (#531) 2019-10-15 00:14:57 +09:00
Keith Wade 10efe3e320 fix: Show leading slash when truncating from root (#526) 2019-10-15 00:12:43 +09:00
Thomas Lee b3275d8ddf feat: Show AWS region in `aws` module (#482) 2019-10-15 00:05:03 +09:00
Thomas O'Donnell a18408e30c fix: Fix the spacing around the AWS default symbol (#529)
This updates the default AWS default symbol to include a space after the
symbol to make it a little bit more readable. Have also updated the
README to include the AWS module.
2019-10-14 22:56:16 +09:00
Matan Kushner 4d1f0b6c6f
ci: Add token with required scopes for Homebrew 2019-10-13 13:58:25 +09:00
Matan Kushner c668940292
chore(bump): v0.23.0 2019-10-13 13:35:00 +09:00
yuri 364f3a3564 build: Improve release binary optimization (#527) 2019-10-13 13:33:47 +09:00
Thomas O'Donnell cc68dec795 refactor: Refactor Go module to the new module config (#525) 2019-10-13 13:16:56 +09:00
Matan Kushner 8f6b0e8710
chore: Add the sponsorship button to the repo 2019-10-13 01:56:05 +09:00
Matan Kushner 88e3a99085
docs: Fix link to Japanese README 2019-10-11 17:32:52 +09:00
Matan Kushner cb4a92f441
docs(i18n): Update doc translations (#479) 2019-10-11 17:31:19 +09:00
Matan Kushner cc6c4d6520 Update Crowdin configuration file 2019-10-11 15:58:57 +09:00
Matan Kushner 034053c749 Update Crowdin configuration file 2019-10-10 23:07:03 +09:00
Zhenhui Xie 57b38f17bb refactor: Rewrite hostname, jobs and line_break module to use mo… (#462) 2019-10-10 17:21:52 +09:00
Matan Kushner e858780eda
ci: Disable CI when updating docs 2019-10-10 16:12:56 +09:00
Matan Kushner 2239ec7450 Update Crowdin configuration file 2019-10-10 16:01:16 +09:00
Matan Kushner 54dcc35d80
docs: Add Traditional Chinese translation to README 2019-10-10 15:20:00 +09:00
allcontributors[bot] c24fd1f7b9 docs: add keawade as a contributor (#512) 2019-10-10 13:47:32 +09:00
Matan Kushner f51f3edf76
docs: Fix lingering merge conflict in config docs 2019-10-10 13:45:59 +09:00
Keith Wade 9d48706360 feat: Implement timezone offset config option for the time module (#463)
This allows users to configure the time module to display time with a timezone offset other than just their local timezone.
2019-10-10 13:42:57 +09:00
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