Commit graph

602 commits

Author SHA1 Message Date
Matan Kushner c398878c90
ci: Add --global flag to git config commands 2019-10-25 21:22:38 +09:00
Matan Kushner 2051865363
chore(bump): v0.25.2 2019-10-25 20:53:05 +09:00
Matan Kushner e81e1b51db
ci: Version the setup-* actions used for testing 2019-10-25 20:44:35 +09:00
Matan Kushner d691e0a394
ci: Remove tests having to pass for release 2019-10-25 20:35:58 +09:00
Zhenhui Xie 321e440289 chore: Move StarshipRootConfig to a separate file (#581) 2019-10-25 10:08:09 +09:00
Matan Kushner 9f22bce944
docs: Update use_12hr config option name 2019-10-25 10:05:21 +09:00
yuri b7762a3e91 fix: Show Java version from OpenJ9 Java runtimes (#507)
This PR tries to improve the version detection across multiple Java VM vendors. The module captures both STDOUT and STDERR outputs of the java -Xinternalversion call.

Eclipse OpenJ9, Azul Zulu, SapMachine, Amazon Corretto and GraalVM outputs are unit tested now.
2019-10-25 10:00:05 +09:00
Yoshi edf5176c37 docs: Fix Memory Usage option key (#586) 2019-10-25 09:58:10 +09:00
Zhenhui Xie aa260899d4 fix: Use logical path instead of physical path when available (#398)
* Get pathbuf from logical path. (fixes #204)

(also fixes #397)

* fix: Update directory module so that use_logical_path will work properly

* Remove test directory::use_logical_and_physical_paths

* Fix merge errors


Co-authored-by: Matan Kushner <hello@matchai.me>
2019-10-24 19:37:44 +09:00
Thomas O'Donnell e0c90a6502 refactor: Remove to remove unneeded mutability (#577)
Removed a couple of unneeded `mut`s that were pointed out by `cargo
check`.
2019-10-24 19:31:17 +09:00
Matan Kushner e34b3622f3
docs(i18n) Add links Traditional Chinese docs (#574) 2019-10-22 00:10:47 +09:00
allcontributors[bot] 1d52cc4f08 docs: add pinshan as a contributor (#573) 2019-10-22 00:00:04 +09:00
allcontributors[bot] ab99965da0 docs: add weihanglo as a contributor (#572) 2019-10-21 23:56:23 +09:00
allcontributors[bot] 506c7ba721 docs: add SLMT as a contributor (#571) 2019-10-21 23:50:37 +09:00
Matan Kushner bd79672f48
docs(i18n): Update Crowdin translations (#517)
- Finish translations for Traditional Chinese
2019-10-21 23:42:08 +09:00
Matias Kotlik 86bb923303 refactor: Refactor memory_usage module to use module config. (#515)
Also addresses a number of bugs:
- the percent sign not displaying correctly on some terminal emulators, including kitty
- changing the symbol in the configuration file didn't do anything
- swap being shown even if the system didn't have any
2019-10-21 00:26:04 +09:00
Matan Kushner e3f1a76e97
ci: Disable windows msvc builds 2019-10-21 00:05:36 +09:00
Matan Kushner fbb4b59ca9
ci: Fix windows-msvc build failure
Split Windows and -nix asset preparation steps
2019-10-20 23:20:11 +09:00
Matan Kushner 2461b84ed9
ci: Add git user for brew bump version 2019-10-20 21:40:04 +09:00
Matan Kushner b9a7983559
chore(bump): v0.25.1 2019-10-20 17:54:30 +09:00
Thomas O'Donnell 7b9197a67e fix: Fix the python module ignoring error codes (#563)
This is a quick fix to stop the python module from displaying error
messages that have been printed to stderr as the version.
2019-10-20 17:42:27 +09:00
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