Commit Graph

764 Commits

Author SHA1 Message Date
Matias Kotlik
e01c41eddf style: Clean up Golang module (#612) 2019-11-01 10:53:28 +09:00
dependabot-preview[bot]
f2cb529d1b build(deps): bump toml from 0.5.3 to 0.5.4 (#604)
Bumps [toml](https://github.com/alexcrichton/toml-rs) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases)
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.3...0.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-10-29 21:35:45 +09:00
BSKY
c58bbcd386 docs: Update installation instructions for fish-shell (#599) 2019-10-29 12:48:45 +09:00
Zhenhui Xie
fed1341e22 feat: Add an option to limit the duration of starship directory scanning (#589) 2019-10-28 22:41:16 +09:00
allcontributors[bot]
7f9726eb15 docs: add brianlow as a contributor (#596) 2019-10-26 16:05:23 +09:00
Brian Low
2710d02709 feat: Show git_status counts (#434)
The git_status module can show the count of files next to their respective symbols.
2019-10-26 15:20:20 +09:00
Jürgen Gmach
59148ac4ad docs: Update required Rust version to v1.38 (#592) 2019-10-26 12:20:18 +09:00
Matan Kushner
e0254f26e2
ci: Remove CHANGELOG.md generation
Because of permissions issues with having bots push to master, it
looks like it won't be possible to do from an Action right now.
2019-10-25 21:54:13 +09:00
Matias Kotlik
221f07548c fix: Disable venv custom prompt when starship is in use (#551) 2019-10-25 21:41:00 +09:00
Matan Kushner
42388394ca
Trigger changelog generation 2019-10-25 21:37:44 +09:00
Matan Kushner
043c3c9117
ci: Add CHANGELOG.md generation 2019-10-25 21:34:02 +09:00
Matan Kushner
1d96338ac6
revert: "ci: Remove tests having to pass for release"
This reverts commit d691e0a394.
2019-10-25 21:29:38 +09:00
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