summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2020-02-14perf: refactor git status to use HashMap for counts (#938)Onielfa
2020-02-12feat(git_commit): Show the hash of commits when detached HEAD (#738)nesmyslny
2020-02-12test(golang): refactor golang tests to use mocked command (#925)Thomas O'Donnell
Refactor the golang module tests to use a mocked command and no longer depend on having a particular version of Go installed.
2020-02-06feat: Add cabal and hpack detection for the haskell module (#915)Brett Mandler
2020-02-06fix: Change command duration variable for Ion shell to CMD_DURATION (#911)Jon Grythe Stødle
2020-02-06test: port Haskell module tests to integration test (#913)Andrew Prokhorenkov
2020-02-06refactor: Move ANSI escaping into its own functions (#866)Kevin Song
2020-02-05chore: give unused function a test annotationMatan Kushner
Former-commit-id: 94acaa37c593f4952c349d663de71e3f1990926b
2020-02-05revert: "refactor: replace reqwest with ureq (#844)" (#895)Matan Kushner
Former-commit-id: 0908c12a4950b6b4ceea22a3e1cbd4a8039d4006
2020-02-05feat: Add an Elm module (#879)Andrew Prokhorenkov
Former-commit-id: d42137309da457a438b554601f0734db963a193e
2020-02-04feat: Add Crystal version module (#170)Youssef Habri
2020-02-04fix: make echo test use /bin/sh (#892)Kyle Sferrazza
2020-02-03chore: readd from_path functionMatan Kushner
Despite the function not being used directly, it was being used in tests. Readding the function so tests will pass.
2020-02-03chore(bump): v0.34.1v0.34.1Matan Kushner
2020-02-03fix: move get_shell method into ContextMatan Kushner
2020-02-03perf: Optimize files, folder and extension lookups in Context (#880)Sam Rose
2020-02-01feat!: Update colors of package and php modules (#782)Matan Kushner
2020-02-01fix(haskell): Add the Haskell module to the default prompt order (#893)Andrew Prokhorenkov
2020-01-28fix: escape "$" character to avoid bash interpreting (#884)Luca Rinaldi
2020-01-27fix: Restrict clear screen control code printing to fish (#865)Kevin Song
Wraps clearscreen print codes in a statement to detect fish shell, since it is a workaround for a fish shell behavior.
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-19refactor: replace reqwest with ureq (#844)David Knaack
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-15fix(bug-report): Fix status code 414 when generated bug report is too long ↵Jon Grythe Stødle
(#750)
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-11chore: Add ability to mock commands during tests (#768)Thomas O'Donnell
2020-01-07fix: Correct module description text for git_commit (#812)Hendrik Rombach
2020-01-06build(deps): bump reqwest from 0.9.24 to 0.10.0 (#797)dependabot-preview[bot]
* build(deps): bump reqwest from 0.9.24 to 0.10.0 Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.9.24 to 0.10.0. - [Release notes](https://github.com/seanmonstar/reqwest/releases) - [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md) - [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.24...v0.10.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-04feat: Terminate $PROMPT_COMMAND properly (#799)InNoobWeTrust
Add trailing semicolon to end $PROMPT_COMMAND properly. This will prevent starship_precmd to accidentally mess with other hooks invoked after it.
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-30fix: Consider `$STARSHIP_CONFIG` in `configure` (#795)AppleTheGolden
Makes starship configure consider the $STARSHIP_CONFIG variable before falling back to the default of ~/.config/starship.toml.
2019-12-28feat(git_status): Add a stash count segment (#598)marblenix
2019-12-28fix: Remove trailing semicolon from `$PROMPT_COMMAND` (#784)InNoobWeTrust
Remove any trailing semicolon in $PROMPT_COMMAND before appending starship_precmd, to prevent syntax error.
2019-12-23fix(package): Use specified directory instead of current working directory ↵Tobias Bieniek
(#774)
2019-12-23fix: Parse arguments of $VISUAL and $EDITOR (#772)Dominik Braun
Co-authored-by: AppleTheGolden <scotsbox@protonmail.com>
2019-12-21fix: Improve error message when current dir is not found (#773)Leonora Tindall
2019-12-20perf: Dereference before to_string in aws moduleMatan Kushner
2019-12-20feat: Implement AWS region aliases (#646)Mike Sampson
2019-12-20fix: Improvements to `starship configure` (#756)AppleTheGolden
- look for $VISUAL first, then $EDITOR, then the default - panic if we can't find the home dir
2019-12-19fix: Clear before printing prompt (#739)Jon Grythe Stødle
This clears any leftover text when the prompt updates in-place (e.g. Alt + Left/Right in fish shell)
2019-12-19feat: cmd_duration module optionally reports milliseconds (#696)Luca Rinaldi
2019-12-19fix(bash): save and restore "$_" (#753)Etienne Mabille
2019-12-19feat: Adds build.gradle.kts detection to the Java module (#731)Mario Arias
2019-12-18feat: Implement `starship configure` command (#751)Dominik Braun
2019-12-17feat: Extend bug-report to include terminal emulator (#740)Matan Kushner