summaryrefslogtreecommitdiffstats
path: root/src/modules
AgeCommit message (Collapse)Author
2020-02-03perf: Optimize files, folder and extension lookups in Context (#880)Sam Rose
2020-01-26test(nodejs): Port nodejs module tests from E2E to integraton (#867)Matan Kushner
Replaces the existing nodejs module end-to-end tests with integration tests that don't require preinstalled environmental dependencies. - Moved the tests to the same file as the module they test - Created a render_module utility function for rendering modules within tests - Removed Node.js installation during CI setup - Add Shell to Context to allow for tests to not run shell-specific code
2020-01-25feat: add Haskell Stack support (#546)Andrew Prokhorenkov
Add a Haskell Stack module when a stack.yaml file is detected
2020-01-24fix(java): Add detection for *.gradle files (#871)Sam Rose
Currently the Java module detection looks for build.gradle specifically, but it's possible to rename build.gradle to *.gradle. This change adds Gradle files to the list of detected file extensions.
2020-01-21fix(python): Trim "Anaconda, Inc." from version (#861)Peter Bull
2020-01-18fix: Fix incorrect prefix usage in cmd_duration module (#832)Thomas O'Donnell
Fixed the way the cmd_duration module is setting it's prefix to be the same as the other modules.
2020-01-15refactor(dotnet): Use `exec_cmd` util (#826)Thomas O'Donnell
Have refactored the dotnet module to use the util::exec_cmd rather than the Command module directly.
2020-01-12refactor(php): Use `exec_cmd` util(#825)Thomas O'Donnell
2020-01-07fix: Correct module description text for git_commit (#812)Hendrik Rombach
2020-01-03perf(hg_branch): Replace direct calls to `hg` (#803)David Hewson
perf: don't use hg process to get branch / bookmark information, each call was taking 250ms and it was making on average 2 calls. the branch and bookmark information is available in files in the root of the repo, use that instead. now takes 300 micro seconds fix: do not use .hgignore to decide if it is an hg repo. was providing false positives. #721 fix: after changing branch the new branch was not show (the old branch was shown), the new branch is now correctly shown. #722 fix: if no branch override was set it would say (no branch) however if you commited in that state you would commit to the branch default so say that instead
2020-01-01feat: Add the `starship explain` command (#699)Jon Grythe Stødle
This adds the explain argument to Starship, which explains what the printed modules in the prompt are.
2019-12-28feat(git_status): Add a stash count segment (#598)marblenix
2019-12-23fix(package): Use specified directory instead of current working directory ↵Tobias Bieniek
(#774)
2019-12-20perf: Dereference before to_string in aws moduleMatan Kushner
2019-12-20feat: Implement AWS region aliases (#646)Mike Sampson
2019-12-19feat: cmd_duration module optionally reports milliseconds (#696)Luca Rinaldi
2019-12-19feat: Adds build.gradle.kts detection to the Java module (#731)Mario Arias
2019-12-13fix(powershell): % sign was prefixed with ` (#730)David Knaack
2019-12-12build(deps): bump sysinfo from 0.9.6 to 0.10.2 (#711)dependabot-preview[bot]
2019-12-11feat: add composer.json version to Package module (#716)Morten Scheel
2019-12-09fix: Truncate long paths in conda environment names (#694)AppleTheGolden
Environment names created via conda create -p [path] tend to be too long for comfort, so this truncates them.
2019-12-08feat: Implement terraform module with workspace and version (#644)wdullaer
2019-12-06feat: Add prefix config to directory module (#642)Dan Wendorf
2019-12-06feat: Add git_commit module (#673)Qingping Hou
2019-12-05feat: Add PHP version module (#244)Stephen Ball
2019-12-03fix: multiple batteries support in the battery module (#669)Luca Rinaldi
Closes #656
2019-12-02refactor: Refactor modules to use the exec_cmd util (#676)Thomas O'Donnell
Have refactored the golang, java, nodejs, python, ruby and username modules to use the new `exec_cmd` util.
2019-12-02feat: Add the hg_branch module (#569)Luca Greco
2019-11-29fix: Fix panic when using fish-style pwd with unicode symbols (#672)Raidou
2019-11-20fix: Remove duplicated "v" in package versions (#648)Thomas O'Donnell
2019-11-13feat: Add separator config to the memory module (#603)Matias Kotlik
2019-11-12fix: Add support for multiple Kubeconfig files (#635)Thomas O'Donnell
This adds support for having multiple Kubeconfig file set as part of the `KUBECONFIG` env var.
2019-11-07refactor: Cleanup after module config refactor (#630)Zhenhui Xie
2019-11-06refactor: Refactor git state module to use module config (#605)Zhenhui Xie
2019-11-06refactor: Refactor nix_shell and java module to use module config (#606)Zhenhui Xie
2019-11-02feat: Enable the python module in virtual envs (#584)Thomas O'Donnell
This will enable the python module when a virtual environment has been activated, this is detected via the `VIRTUAL_ENV` env var.
2019-11-02feat: Add configuration to set how much AWS profile info is shown (#556)Cédric Da Fonseca
2019-11-01style: Clean up Golang module (#612)Matias Kotlik
2019-10-26feat: Show git_status counts (#434)Brian Low
The git_status module can show the count of files next to their respective symbols.
2019-10-25fix: Show Java version from OpenJ9 Java runtimes (#507)yuri
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-24fix: Use logical path instead of physical path when available (#398)Zhenhui Xie
* 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-24refactor: Remove to remove unneeded mutability (#577)Thomas O'Donnell
Removed a couple of unneeded `mut`s that were pointed out by `cargo check`.
2019-10-21refactor: Refactor memory_usage module to use module config. (#515)Matias Kotlik
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-20fix: Fix the python module ignoring error codes (#563)Thomas O'Donnell
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-20Refactor: Remove unnecessary parentheses in if condition (#566)Clément Joly
2019-10-20refactor: improve as-a-library usage by removing ArgMatches depe… (#547)Barnaby Keene
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-19refactor: Refactor modules to use module config (#514)Zhenhui Xie
2019-10-17fix: Separate Python version string and env name (#548)Nguyễn Hồng Quân
2019-10-16feat: Implement PowerShell support (#470)David Knaack
2019-10-15refactor: Refactor git_branch module to use new module config (#535)Matias Kotlik